I have been using rclone for a good while now with good results. I use google as the backend. The point is, that I want to copy a snapshot I made with snapper, but I do not want copy to do anything from a different snapshot. For example, many directories and soft links that go directly to a separate partition, i.e. outside of the snapshot.
I search the man page but copy does not mention anything about snapshots. If I missed it, please tell me, and I will reread it.
With regular copy I might say -P or --no-dereference (from memory), but I don't see that one. Maybe it is called differently, but I have to be sure it will not copy anything outside of the snapshot (that would be a waste).
Run the command 'rclone version' and share the full output of the command.
go/tags: none
gbonnema ๎ฐ ~ ๎ฐ
ยดยดยด
Are you on the latest version of rclone? You can validate by checking the version listed here: Rclone downloads
--> no. It is the distro's version.
Which cloud storage system are you using? (eg Google Drive)
Google drive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
No command, just a query.
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
My intention is to get the new version of everything by upgrade the distro to 39, after I make a backup. And that is what this question is for. If you really need my config, I will download the newest version and print it, but I would prefer not to tamper with an existing distro.
Yes, the filesystem snapshot is btrfs and I use the tool snapper to create a snapshot. The property of snapshots is that it bounds on any other snapshot. So for example I have a snapshot for home which is on its own. The directory containing games within my home directory, I declared a different snapshot, which prevents the snapshot for home to contain these games. unfortunately I also have soft links to a different partition, which is another snapshot. However, if I use rclone to copy home, I fear that the games or the softlinks will be copied too, which would be a waste.
Thank you for your response. I realize that I ask for links but apparantly that does something different. Let me show you the command I use at the moment:
ยดยดยด61:rclone copy /home/.snapshots/$snapshot/snapshot/gbonnema ggl:"$host"/home/gbonnema --links --progress --log-file $tmpfile --drive-acknowledge-abuse -vv $dryrun
ยดยดยด
the var ยดยดยด$dryrunยดยดยด is empty for a real run, or ยดยดยด-nยดยดยด for a dryrun.
The definition of links is something like a specific rclone link. I hope this does not walk the link. Could you confirm this would still work?
Thank you very much. I suddenly remember why I use --links. That way, the contents will not be copied, but the link itself stays in existence. Very much ideal. Thank you!