librelist archives

« back to archive

Renaming an archive

Renaming an archive

From:
Tech AGEBdB
Date:
2015-10-16 @ 22:34
Hi!

I've been mucking with borg a bit (yay borg!) and I wanted to know if it
was possible to rename archives.

I did my first backup manually with a test name and I now want to use
the 'hostname'-date format to be able to purge.

I could always delete the first backup with the 'delete' option but
since it's pretty big it seems like a waste of cpu resources...

Great job on this program. I'll never use duplicity my servers again!

-- 
Louis-Philippe Véronneau - Informaticien
AGEBdB - Association Générale Étudiante de Bois-de-Boulogne
12555 av. de Bois-de-Boulogne
Téléphone: (514) 332-3000 #7580
Site web: http://agebdeb.org

Re: [borgbackup] Renaming an archive

From:
Thomas Waldmann
Date:
2015-10-16 @ 23:08
> I've been mucking with borg a bit (yay borg!) and I wanted to know if it
> was possible to rename archives.

Sure, try "borg rename --help".

---

GPG ID: FAF7B393
GPG FP: 6D5B EF9A DD20 7580 5747 B70F 9F88 FB52 FAF7 B393

Re: [borgbackup] Renaming an archive

From:
Tech AGEBdB
Date:
2015-10-16 @ 23:11
Great, now I feel silly :P

In my defense, the online doc does not mention the 'rename' option:


https://borgbackup.readthedocs.org/en/latest/search.html?q=rename&check_keywords=yes&area=default

Thanks!

-- 
Louis-Philippe Véronneau - Informaticien
AGEBdB - Association Générale Étudiante de Bois-de-Boulogne
12555 av. de Bois-de-Boulogne
Téléphone: (514) 332-3000 #7580
Site web: http://agebdeb.org


On 16/10/15 07:08 PM, Thomas Waldmann wrote:
>> I've been mucking with borg a bit (yay borg!) and I wanted to know if it
>> was possible to rename archives.
> 
> Sure, try "borg rename --help".
> 
> ---
> 
> GPG ID: FAF7B393
> GPG FP: 6D5B EF9A DD20 7580 5747 B70F 9F88 FB52 FAF7 B393
> 



Re: [borgbackup] Renaming an archive

From:
Thomas Waldmann
Date:
2015-10-16 @ 23:16
On 10/17/2015 01:11 AM, Tech AGEBdB wrote:
> Great, now I feel silly :P
> 
> In my defense, the online doc does not mention the 'rename' option:
> 
> 
https://borgbackup.readthedocs.org/en/latest/search.html?q=rename&check_keywords=yes&area=default

Good finding, I filed a bug:

https://github.com/borgbackup/borg/issues/279


-- 

GPG ID: FAF7B393
GPG FP: 6D5B EF9A DD20 7580 5747 B70F 9F88 FB52 FAF7 B393