Initial questions about Odrive

Hi @ti1,
Please take a look at these two posts here first, to give some background on the difference between backup and sync:

and the nature of the backup command in the CLI:

Since it sounds like your primary use case is periodic backup, sync is probably not the way to go. The beta backup feature may work for your needs.

Please see above

For backup you should create a new folder in the cloud to backup to, instead of targeting the root.

If you followed the instructions here to install: https://docs.odrive.com/docs/odrive-sync-agent then there is a backup.log file located in ~/.odrive-agent/log

As long as the folder is accessible via a local path, you will back it up the same as any other folder. type odrive.py backup -h for the syntax

You can use standard odrive sync to recover files (steps 4-6 here: https://docs.odrive.com/docs/odrive-sync-agent#section--using-odrive-sync-agent- ), or get them from the cloud storage directly (via their web interface, for example). The backup functionality is one-way, so it will not pull down any files from the cloud.[quote=“ti1, post:1, topic:2536”]
7 - Is it necessary to mount Amazon in a local folder only when I need to download a file or folder?
[/quote]

Technically you “mount” for both sync and backup. Similar to #6, though, you would need to mount for sync to download the files pushed up via backup.[quote=“ti1, post:1, topic:2536”]
For backup:
python “$HOME/.odrive-agent/bin/odrive.py” backup “/mnt/data/” “/Amazon Cloud Drive/data”

For sync:
python “$HOME/.odrive-agent/bin/odrive.py” sync “/mnt/data/” “/Amazon Cloud Drive/data”
[/quote]

The sync command is used to sync a file or folder, and isn’t use to mount in this way. You use the “mount” command to mount a location for syncing. For example:
python “$HOME/.odrive-agent/bin/odrive.py” mount “/mnt/data-sync/” “/Amazon Cloud Drive/data”
then
python “$HOME/.odrive-agent/bin/odrive.py” sync “/mnt/data-sync/myfile.txt.cloud”

Your backup and sync mounts should be different local folders so you don’t end up with cyclical syncing and potentially other oddities.