-
Notifications
You must be signed in to change notification settings - Fork 24
What is the option SYNC_FILE?
rootorchild edited this page Jan 20, 2020
·
10 revisions
When you run command butgg.bash --setup
or butgg.bash --setup config
, you will be see a question like that:
Read more https://github.com/mbrother2/backuptogoogle/wiki/What-is-the-option-SYNC_FILE%3F"
Do you want only sync file(default no)(y/n):
- If you choose
n
, it means you want to UPLOAD backup directory on your server to Google Drive. It is slower but can keep many backups exist on Google Drive. - If you choose
y
, it means you only want to SYNC from your backup directory on your server to Google Drive. It is fast but only 1 backup exists on Google Drive.
- If you delete file or directory on your server, when cron_backup.bash run SYNC data, it will DELETE these files or directories to be sure data on backup directory on your server and Google Drive are same.
- If you create file or directory manualy on Google Drive, when cron_backup.bash run SYNC data, it will NOT delete these files or directoies.
- If you delele file or directory manualy on Google Drive, when cron_backup.bash run SYNC data, it will NOT upload these files or directoies again.
- If you use butdr.bash (with rclone), when when cron_backup.bash run SYNC data, it will delete files and directories on Cloud if they do not exist on your local server.