[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why or why not back up "/lost+found"



On Fri, Aug 11, 2023 at 01:30:13PM +0100, debian-user@howorth.org.uk wrote:

[...]

> One other consideration that I haven't seen mentioned elsewhere in this
> thread is what happens if you back up filesystems to filesystems?

I never use the backup's medium top-level dir as a target. In my current
usage, that's how my medium looks like:

  tomas@trotzki:~$ ls -l /media/backup
  total 20
  drwx------ 2 root root 16384 Aug 27  2022 lost+found
  drwxr-xr-x 4 root root  4096 Aug 27  2022 trotzki

...so there's a top-level dir named after the "client" host. My backup
scripts gets a positive list of things to back up -- and I sprinkle
files named .backup-filter for more control (I tell rsync about that).

Simple, effective. Putting tons of "--exclude" and things into the
command line will drive you crazy after a while :)

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature


Reply to: