Feature #5301

Clone or backup system for the persistent volume

Added by Tails about 4 years ago. Updated about 1 month ago.

Status:ConfirmedStart date:01/27/2015
Priority:NormalDue date:
Assignee:sajolida% Done:

17%

Category:Persistence
Target version:2017
QA Check: Blueprint:

https://tails.boum.org/blueprint/backups

Feature Branch: Easy:No
Type of work:Code Affected tool:

Description

Team: segfault, sycamoreone, elouann

As people make more use of the persistant volume it becomes more important that they have an easy way to back up their data.

The easiest way would probably be a pushbutton clone - possibly in Tails USB Installer, possibly a new Persistent Volume function - that simply duplicates one USB to another of the same size. Any other system that enables one to do a backup and restore to get back to the same place would be fine.

<blockquote>

This would be great. Patches are welcome :)

You could have it in Applications -> Tails -> Backup persistent volume. A dialog box can come up asking to insert either a new USB of the same size, or a USB with an older backup already on it.For new USB's, it should format them, make an encrypted volume, and cp or tar all the files from the current persistent volume. For USB's already containing a backed up persistent volume, it should just mount the volume and replace the files with the current ones

Maybe a script that backs up /live/mount/persistence/sdb2_unlocked (sdb is the usb, given i have a internal hdd sda) to another USB flash drive. You would have to use a passphrase to encrypt the tar. an example: tar cvpz --exclude=/live/mount/persistence/sdb2_unlocked/apt/lists/lock --exclude=/live/mount/persistence/sdb2_unlocked/apt/cache/lock --exclude=/live/mount/persistence/sdb2_unlocked/lost+found /live/mount/persistence/sdb2_unlocked | openssl enc -aes-256-cbc -e > /media/newusb/tails_backups/$(date +'%Y%m-%d*%I.%M.%S%p')*UTC.tar.gz.enc

</blockquote>


Subtasks

Feature #7049: Design a backup system for the persistent volumeConfirmedsajolida

Feature #8812: Consider using Tails Installer to do backupsConfirmedtchou

Bug #9888: Test deja-dup to do backupsResolved

Feature #9889: Decide a backup solution among possible candidatesConfirmedsajolida

Bug #11660: Backups: test grsync wrt. requirementsConfirmedelouann

Feature #12214: Consider documenting a way to manually backup persistent dataIn Progresscbrownstein

Feature #13457: Test backup script by a2Confirmed


Related issues

Related to Tails - Bug #7216: Instructions to backup persistent data do not respect ownership of files Resolved
Related to Tails - Feature #11627: Consider updating the default system partition's size Resolved 08/10/2016
Related to Tails - Feature #12705: Update the size of the system partition to >= 4 GiB Confirmed 06/15/2017
Duplicated by Tails - Feature #10405: Clone persistent folder Duplicate 10/21/2015

History

#1 Updated by intrigeri about 4 years ago

  • Type of work set to Code

Type of work: Code

#2 Updated by intrigeri almost 4 years ago

  • Category set to Persistence
  • Easy set to No

#3 Updated by sajolida over 3 years ago

At least now it is documented how to do that manually:

https://tails.boum.org/doc/first_steps/persistence/copy/

#4 Updated by intrigeri over 3 years ago

This is being discussed on tails-dev ("Feedback wanted on planned implementation of Feature #5301 - Clone or Backup Persistent Volume" thread).

#5 Updated by natmaka over 3 years ago

See also #7049

#6 Updated by intrigeri over 3 years ago

  • Blueprint set to https://tails.boum.org/blueprint/backups

#7 Updated by sajolida about 3 years ago

  • Subject changed from Clone or Backup Persistent Volume to Clone or backup system for the persistent volume

#8 Updated by sajolida about 3 years ago

  • Related to Bug #7216: Instructions to backup persistent data do not respect ownership of files added

#9 Updated by sajolida about 2 years ago

  • Description updated (diff)
  • Assignee set to sajolida
  • Target version set to 2017

#10 Updated by sajolida almost 2 years ago

#11 Updated by sajolida almost 2 years ago

#12 Updated by sajolida almost 2 years ago

#14 Updated by intrigeri 12 months ago

  • Description updated (diff)

#15 Updated by sajolida 11 months ago

  • Related to Feature #11627: Consider updating the default system partition's size added

#16 Updated by intrigeri 2 months ago

  • Related to Feature #12705: Update the size of the system partition to >= 4 GiB added

#17 Updated by u about 2 months ago

  • Related to Feature #12214: Consider documenting a way to manually backup persistent data added

#18 Updated by sajolida about 1 month ago

  • Related to deleted (Feature #12214: Consider documenting a way to manually backup persistent data)

Also available in: Atom PDF