I’ve got several problems and I’m looking for a way to solve them. The last one is perhaps the most pressing issue, maybe read that first:
- I have two repositories,
fooandbar. The data used to be on a single partition, backed up to a single repository. I have since separated them into two partitions and two repositories, and also changed the partition names, so when backing up, my repositories names are the same but the mount points at/run/media/user/arestarandgar. As far as I know there isn’t a way to rename repositories. I’d rather combine them into a single repo. According to a post I made a year ago, which I forgot about, there’s a way to combine backup sources to a single repository, but I’m uncertain what syntax to use. Is itrestic -r /repo/ backup /run/media/user/star /run/media/user/gar? So I just add a space between each source location? - I’ve performed two backups on each repository. My latest backups took 3 hours each, totalling close to the GB I had on those partitions, as if they were a full backup. Could this be caused by path changes, as a result of my partition name changes? All that’s changed is the name of the parent directory, the data is largely unchanged (as in
/run/media/user/starinstead of/run/media/user/foo). Given deduplication, I assumed it would recognise changes to pathing and only backup what was actually changed, but that doesn’t seem to have happened. I should note that it isn’t actually doing that much writing, the GB on the destination is changing about as much as I’d expect. So it’s needing to read the entire data set. - (this is my biggest issue). My backup drive’s partition, on which all of my repositories live, is 2TB and encrypted with LUKS but there is another 2TB of free space. I’m running out of space on the partition. Extending LUKS partitions is risky and I’d rather avoid that. What’s the best way to move forward here, taking into account my first two issues? I do have other drives including a 2TB drive I could use to move existing backups to, then reformat my backup drive. Question is, how do I safely transfer those backups, using rsync? What arguments would be appropriate?
Thanks for reading, it’s a mess in my head but I’m hoping there’s an elegant solution.