tasket / wyng-backup

Fast backups for logical volumes & disk images
GNU General Public License v3.0
251 stars 16 forks source link

Allow specifying path+prefix for use with multi-volume `receive` #130

Closed tasket closed 1 year ago

tasket commented 1 year ago

Allow specifying path+prefix for use with multi-volume receive.

For example wyng receive --all --save-to=/dev/vg/temprestore- would restore all volumes into the '/dev/vg' path each with the name 'temprestore-volname'.

This would not treat the last portion of the save-to path as a directory, unless the specified path ended with a '/' slash.

This idea allows multiple volumes to be restored in a single invocation of Wyng while giving the user or external script control over the namespace.

tasket commented 1 year ago

This is now handled by specifying --local with receive (changes from recent 04wip branch -> 04alpha3).