-
Notifications
You must be signed in to change notification settings - Fork 16
What is the option SYNC_FILE?
rootorchild edited this page Jan 20, 2020
·
1 revision
When you run command butdr.bash --setup
or butdr.bash --config single-backup
, you will be see a question like that:
Read more https://github.com/mbrother2/butdr/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 when cron_backup.bash run SYNC data, it will delete files and directories on Cloud if they do not exist on your local server.