backup a node_app folder in linux server

علی ذوالفقار
1401/06/07 09:38:42 (75)
backup a node_app folder in linux server  : 

tar --exclude="node_modules" -cvzf app_backup.tgz  myAppFolder/
(Create/Verbose/Zip/File)

to restore : 

tar xvzf backups.tgz -C /temp/data/ 
(Extract/Verbose/Zip/File/)
Back