-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MVP of any strategy of backup on TailsOS #8
Comments
These scripts may acidentaly destroy data. I think we can do some extra checks (like require create some files that allow backup/restore, so if an user run by accident, it will need manual action). Not sure about the better naming scheme, but we could somewhat think this as database replication naming. If I remember, MariaDB uses |
… added 'set -e' to enforce stop on any error
…s; automaticaly create files to somewhat protect from accidental recovery later
Without sudo, using the official documentation at https://tails.boum.org/doc/first_steps/persistence/backup/index.en.html, we have these errors:
|
Now with sudo.
|
…ain command to backup. Still needs some cosmetic improvements and potential improvements over the official suggested documentation
From sudo rsync \
--partial --progress \
--archive \
--sparse \
--hard-links \
--acls \
--xattrs \
--verbose \
--delete-during \
/live/persistence/TailsData_unlocked/ \
/media/amnesia/TailsData I know it's the same thing. But for scripts, I find it better to know what is every part is doing. |
…rom-usb-stick.sh; improved documentation of backup-tailsdata-to-usb-stick.sh
…ed; quick overview of at least one backup and restore strategy
Just used again the |
…ts; bump versions for v.1.1 restore-tailsdata-from-usb-stick.sh renamed to tails-restore-tailsdata-from-usb-stick backup-tailsdata-to-usb-stick.sh was renamed to tails-backup-tailsdata-to-usb-stick
I think we could close this issue for now. But the #11, since I did not done a full test, will keep open for more time. |
References:
Document (or maybe do some shell scripting) of an minimum viable product (MVP) of backup on TailsOS.
Maybe this issue will end being just repeat the oficial documentation. Or cite how to do it using the grapical interface.
Note to self: I think I somewhat bricket the partition layout of one pen drive to a point of Disks utilities know there is an partition, but not aware that is LUKS or something. This is likely to not be related with Tails at all, since I guess I tried to open outside or I intentionally removed several times without waiting the OS close. I'm also using a pretty cheap 64gb USB stick
The text was updated successfully, but these errors were encountered: