What is the problem you are having with rclone?
Looking for recommendations before implementing a solution.
What is your rclone version (output from rclone version
)
rclone v1.55.1
- os/type: linux
- os/arch: arm
- go/version: go1.16.3
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
SFTP for test / other after validation
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
None yet...
The rclone config contents with secrets removed.
None yet...
A log from the command with the -vv
flag
None yet...
The goal: To setup automated backups FROM a live Debian 10 VPS TO remote storage. The rclone command is being run from a remote machine with ssh/sftp access to the live VPS - not the live VPS.
The question(s):
(1) What is a model command to use for the backup, that excludes:
{"/dev/","/proc/","/sys/","/tmp/","/run/","/mnt/","/media/*","/lost+found"}
For example: rclone:CONFIGNAME: -aAXvh /.
--exclude={"/dev/","/proc/","/sys/","/tmp/","/run/","/mnt/","/media/*","/lost+found"} /home/USER/backups/
What we are looking for is the syntax to:
(a) exclude things not needed
(b) exclude things from the backup that will foobar the live VPS
(c) Something we can automate via cron
(2) Any other way of accomplishing this - or recommendations from those already doing it. We don't want to "reinvent the wheel". Just need something reliable and easy to manage.
Any help appreciated.