Enhancement #2749
Backup data: restore files from a certain time
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-backup-data | |||
Target version: | v6.5 | |||
Resolution: | NEEDINFO: | No |
Description
Add an option to /sbin/e-smith/restore-file
script to allow restore of a file from a given time.
For example: restore /etc/passwd from 3 days ago.
See -t | --time
options from duplicity manual.
Associated revisions
Scriptt: add scripts to restore specific files. Refs #2749
Scripts: add scripts to restore specific files. Refs #2749
restore: add time (-t) option. Refs #2749
backup-data-list: umount backup when done. Refs #2749
restore-file: remove leading slash if needed. Refs #2749
restore-file: correctly handle arguments. Refs #2749
restore-file: fix type (umount filesystem). Refs #2749
History
#1 Updated by Giacomo Sanchietti about 7 years ago
- Status changed from NEW to TRIAGED
- Target version changed from ~FUTURE to v6.5
- % Done changed from 0 to 20
#2 Updated by Giacomo Sanchietti about 7 years ago
- Status changed from TRIAGED to ON_DEV
- Assignee set to Giacomo Sanchietti
- % Done changed from 20 to 30
#3 Updated by Giacomo Sanchietti about 7 years ago
- Subject changed from Backup data: restore from a certain time to Backup data: restore files from a certain time
#4 Updated by Giacomo Sanchietti about 7 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 30 to 60
#5 Updated by Giacomo Sanchietti about 7 years ago
- Assignee deleted (
Giacomo Sanchietti)
#6 Updated by Giacomo Sanchietti about 7 years ago
- backup-data-list: print file from last backup
#7 Updated by Giacomo Sanchietti about 7 years ago
- Status changed from MODIFIED to ON_QA
- % Done changed from 60 to 70
- nethserver-backup-data-1.0.9-8.0git83dab3f9.ns6.noarch.rpm
- Configure and execute a backup
- Execute the backup multiple times during different days (or change the system clock)
- Try to restore a file from a given date:
/sbin/e-smith/restore-file -t 1D /myfile
#8 Updated by Giacomo Sanchietti about 7 years ago
- Status changed from ON_QA to TRIAGED
- % Done changed from 70 to 20
The restore-file
script doesn't correctly handle arguments.
#9 Updated by Giacomo Sanchietti about 7 years ago
- Status changed from TRIAGED to ON_DEV
- Assignee set to Giacomo Sanchietti
- % Done changed from 20 to 30
#10 Updated by Giacomo Sanchietti about 7 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 30 to 60
#11 Updated by Giacomo Sanchietti about 7 years ago
- Status changed from MODIFIED to ON_QA
- Assignee deleted (
Giacomo Sanchietti) - % Done changed from 60 to 70
- nethserver-backup-data-1.0.9-10.0git4d3a1f1d.ns6.noarch.rpm
#12 Updated by Nicola Rauso about 7 years ago
- Assignee set to Nicola Rauso
#13 Updated by Nicola Rauso about 7 years ago
- Status changed from ON_QA to TRIAGED
- Assignee deleted (
Nicola Rauso) - % Done changed from 70 to 20
The restore operation works - also for given date - but at the end of restore procedure the backup filesystem remains mounted
#14 Updated by Giacomo Sanchietti about 7 years ago
- Status changed from TRIAGED to ON_DEV
- Assignee set to Giacomo Sanchietti
- % Done changed from 20 to 30
#15 Updated by Giacomo Sanchietti about 7 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 30 to 60
Fixed typo on /sbin/e-smith/restore-file
script.
#16 Updated by Giacomo Sanchietti about 7 years ago
- Status changed from MODIFIED to ON_QA
- Assignee deleted (
Giacomo Sanchietti) - % Done changed from 60 to 70
- nethserver-backup-data-1.0.9-11.0git1c8363fc.ns6.noarch.rpm
#17 Updated by Nicola Rauso about 7 years ago
- Assignee set to Nicola Rauso
#19 Updated by Nicola Rauso about 7 years ago
- Status changed from ON_QA to VERIFIED
- % Done changed from 70 to 90
#20 Updated by Giacomo Sanchietti about 7 years ago
- Status changed from VERIFIED to CLOSED
- % Done changed from 90 to 100
- nethserver-backup-data-1.0.10-1.ns6.noarch.rpm
Documentation added to developer's and administrator's manual.
#21 Updated by Giacomo Sanchietti about 7 years ago
- nethserver-backup-data-1.0.11-1.ns6.noarch.rpm