NetBSD-Users archive

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

Re: Backing up "stuff"



Robert Elz wrote in
 <27074.1666095388%jacaranda.noi.kre.to@localhost>:
 |    Date:        Tue, 18 Oct 2022 07:03:08 -0400
 |    From:        Todd Gruhn <tgruhn2%gmail.com@localhost>
 |    Message-ID:  <CA+9Akf8rZkOYQVbG9j1_TUk78nYmoNLiZqPvxOP2fsZcNZxosg@mail.\
 |    gmail.com>
 |
 || DVD+DL?  I have not heard this name.
 || What is DVD-DL?
 |
 |Dual Layer.    Capacity about twice as much as a regular DVD (BluRay discs
 |hold much more however).
 |
 |Needs dual layer blank discs, and a dual layer capable writer.

I used a (dump then BTRFS snapshot) ball splitter for years, in
order to save backups to VFAT; the last incarnation was

     echo '== '$mydir': '$i' to '$target
     act mkdir -p "$target"
     act btrfs send $parent "$this" '|' \
        zstd -zc -T0 $ZSTD_LEVEL '|' \
        '('cd "$target" '&&' \
          echo "$this" '>' .stamp '&&' \
          split -a 4 -b 2000000000 -d -')'


     echo '=== '$mydir': receiving snapshot of '$snaps' files'
     act cat "$ball"/"$mydir"/* '|' zstd -dc '|' btrfs receive .
     act btrfs filesystem sync .

Worked just fine.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)


Home | Main Index | Thread Index | Old Index