metasfresh / metasfresh-documentation

Docs and Manuals for Devs, Users, Admins
http://docs.metasfresh.org/
26 stars 27 forks source link

git files are not stored when doing backup of metasfresh-docker #65

Open daveyx opened 7 years ago

daveyx commented 7 years ago

regarding to https://github.com/metasfresh/metasfresh-documentation/blob/gh-pages/_howto_collection/EN/How_do_I_update_metasfresh_using_Docker.md

the task tar cvzf /backup/backup.tar.gz ./*

does not backup hidden files/folders (i.e. .git and .gitignore) as the asterisk is interpreted by the shell as "all files, except hidden", so it should be replaced with tar cvzf /backup/backup.tar.gz .

daveyx commented 7 years ago

help! german version not in sync, in https://github.com/metasfresh/metasfresh-documentation/blob/gh-pages/_howto_collection/Wie_aktualisiere_ich_metasfresh_mittels_Docker.md ---> what means --BACKUP ???

metasnw commented 7 years ago

@daveyx --Backup means that this line is there to make sure you got a backup

daveyx commented 7 years ago

sorry, but still not clear to me what is the difference when using tar with or without "--BACKUP" option. In the man page, they write:

     --backup
           backup before removal, choose version CONTROL

only lower case in the man page and my ubuntu machine does not allow the --BACKUP switch with upper case

metasnw commented 7 years ago

@daveyx its just a comment. I removed it as it was just for info.