Gentlemen,
A few days ago I installed Odrive and I’m really enjoying the tool.
My goal is to keep backup on the Amazon Cloud Drive.
The main thing is to sync a shared folder on the network with Amazon Drive.
This synchronization will be performed only on demand, we do not want automatic synchronization.
We will only use the Odrive CLI interface on the Linux operating system.
Being a beginner in the tool, some doubts arose, where I would like help here in the forum.
1 - Even reading the documentation, I still have doubts about the difference of the backup and sync commands. In which situation do I use these commands?
2 - To perform the initial backup (first copy of the folder), do I run the “backup” or “sync” command?
3 - To perform the backup or sync, do I need to have a folder created in the Cloud or can I back up the parent folder?
4 - How do I check the status (verbose) of the copy or sync of the files? How do I know if the backup or sync is running?
5 - To back up a shared folder on the network, do I need to copy this folder into the Amazon mount point, or can I point the backup to the local folder?
6 - If I need to recover files or folders that are in Amazon, which command do I execute to download these files to a local folder?
7 - Is it necessary to mount Amazon in a local folder only when I need to download a file or folder?
The commands I’m using for backup and sync are these:
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”
I would like to get help on these questions, and know if I am using the commands correctly.
Thank you!