How to backup a snapshot from timeshift to external micro sd

Hello, World! I’m going to speak it in to existence and say that you all are feel amazingly great today! Yeah so, can anyone give me instructions on how to do that. I keep trying and failing. I’m just trying to backup to my external device. I’m using the most current Ubuntu Numbat. DejaDup works great for backup, but I’m just trying to figure out how to do it with timeshift. Much appreciate fellas…

Tell us more about the Micro drive, It’s important to note that Timeshift requires the external drive to have a Linux partition to store snapshots. If your external drive is formatted with a filesystem like ExFat, you need to format it to ext4 or if your using an BTRFS format it will need a btrfs format.

I move mine to 2 or 3 Drives with no issues. Also the Drive has to be large enough for the snapshot. :wink:

I’d be super cautious of backing anything up to MicroSD. They aren’t made to the quality of, for instance, a SSD and have much fewer write cycles by comparison.

Okay so forget that I said anything about a micro sd. So let me modify my question. How to backup a snapshot to a 256gb ssd card and I have timeshift setup as rsync.

Also ssd is format ext4

Also guys, is there any other suggestions on how to backup to a external device? I keep hearing about backup, backup, backup. I’m trying to find a way to. I can’t get explicit directions to execute this action properly.

To make a copy of a snapshot, I would use rsync. (That actually is the tool that Timesync uses to make snapshots on non-btrfs file systems).

With the -a option, you create a mirror copy of an entire directory stucture, where file times and permissions are preserved. The first time the copy is made, all data must be transferred. The second time, only changed files are copied over. To delete files on the destination that do not anymore exist in the source, the --delete option is used.

Incremental backup copies where not changed files are hardlinked to a previous backup are made adding the --link-dest option.

For example, this will make a mirror copy of an entire directory tree:

rsync -av /source/data/ /dest/data

If the directory data does not yet exist in /dest, the directory will be created. If that directory exists, only data in the source that are new or newer than data in /dest will be copied.

An incremental copy that links back to data that has not changed since a previous copy, is done like (this time, also the --delete option is added):

rsync -av --delete --link-dest="/dest/data" "/source/data" "/dest/data-new"

Files that have not changed will be hard-linked from /dest/data to /dest/data-new. Only new and changed data will be copied from /source to /dest/data-new.

The backup proces can be automated in a script. After a successful copy, the name of /dest/data is changed (e.g. adding a date in the name), then /dest/data-new is renamed to /dest/data.

3 Likes

Finally understand how to backup to a external device. Got it! Thanks yall!!

This topic was automatically closed after 29 days. New replies are no longer allowed.