Project

General

Profile

Feature #5301

Clone or backup system for the persistent volume

Added by Tails over 4 years ago. Updated 3 months ago.

Status:
Confirmed
Priority:
Normal
Assignee:
Category:
Persistence
Target version:
Start date:
01/27/2015
Due date:
% Done:

17%

QA Check:
Feature Branch:
Type of work:
Code
Starter:
No
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: Document a way to manually backup persistent dataIn Progresssegfault

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 Resolved 06/15/2017
Related to Tails - Feature #14624: Document how to migrate persistence to a new USB stick or update the system partitions of an existing device Confirmed 09/12/2017
Duplicated by Tails - Feature #10405: Clone persistent folder Duplicate 10/21/2015

History

#1 Updated by intrigeri over 4 years ago

  • Type of work set to Code

Type of work: Code

#2 Updated by intrigeri about 4 years ago

  • Category set to Persistence
  • Starter set to No

#3 Updated by sajolida almost 4 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 over 3 years ago

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

#8 Updated by sajolida over 3 years ago

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

#9 Updated by sajolida over 2 years ago

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

#10 Updated by sajolida about 2 years ago

#11 Updated by sajolida about 2 years ago

#12 Updated by sajolida about 2 years ago

#14 Updated by intrigeri over 1 year ago

  • Description updated (diff)

#15 Updated by sajolida about 1 year ago

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

#16 Updated by intrigeri 6 months ago

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

#17 Updated by u 5 months ago

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

#18 Updated by sajolida 5 months ago

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

#19 Updated by BitingBird 3 months ago

  • Target version changed from 2017 to 2019

#20 Updated by sajolida 3 months ago

  • Related to Feature #14624: Document how to migrate persistence to a new USB stick or update the system partitions of an existing device added

Also available in: Atom PDF