:: Re: [DNG] Backup methods for Devuan
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Joel Roth
日付:  
To: dng
題目: Re: [DNG] Backup methods for Devuan
On Sun, May 26, 2024 at 09:37:38PM +0300, Lars Noodén via Dng wrote:
> On 5/26/24 21:27, Antony Stone wrote:
> > On Sunday 26 May 2024 at 20:08:19, nisp1953 via Dng wrote:
> [snip]
> > > I am backing up about 34 GB of data. It's small but important.
> > In that case I would not even consider incremental backups - I would take a
> > full backup every day, and write it to a different directory (or even
> > partition) on the external drive. I cannot imagine you are using disks
> > smaller than 7 x 34 Gb = 238 Gbytes.
>
> Or do something in between via Rsync using the --link-dest option.


This is what I use.

> I've been using rsync(1) with --link-dest comfortably for quite some
> time now. I use stat(1) and date(1) to find the day of the year from
> the previous run and point rsync(1) to that.


I also bodged up a script to do something similar. The most
recent backup gets a symlink named 'current'. The backup
in progress goes into work/, and on completion is renamed
with today's date.

> /Lars
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


--
Joel Roth