[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] Backup-project.
On Thu, 28 Aug 2003 12:52:38 +0200
Morten Werner Olsen <werner@xxxxxxxxxxxxx> wrote:
> Hello!
>
> This autumn I am going to have a school-project where I will set up a
> working backupsystem for Skolelinux. The requirements for a
One tool I would like to have is a powerfull 'restore' command.
User:
$ rm some_good_file.swx
$ touch some_good_file.swx
Ups....
$ restore some_good_file.swx
Last backup of this file was done 2003-08-27 02:00:23.
-rw-r--r-- 1 user klass2002a 19968 Aug 26 16:48 some_good_file.swx
Do you want to restore this version ? (Yes/No/Other): o
Last 10 backups of /home/user/some_good_file.swx
0. 2003-08-27 02:00:23
-rw-r--r-- 1 user klass2002a 19968 Aug 26 16:48 some_good_file.swx
1. 2003-08-26 02:00:24
-rw-r--r-- 1 user klass2002a 19958 Aug 23 16:48 some_good_file.swx
2. 2003-08-25 02:00:23
-rw-r--r-- 1 user klass2002a 19958 Aug 23 16:48 some_good_file.swx
....
What of these versions do you want to restore? (0-9,Other,No): 0
Restoring /home/user/some_good_file.swx from 2003-08-27 02:00:23 ...
Do you want to overwrite existing file (we will restore to another file
if you answer No)? (Yes/No/Cancel): Y
Making a backup, just in case (some_good_file.swx ->
some_good_file.swx.restore.20030827150023)
Restoring old file ................. done!
Contact you SA if you have any questions.
$
Phew .... :)
Of course all messages must be i18ed and l10ed. The major point is that
user can easily repair his own mistakes without calling a SA.
--
Best regards,
Aigars Mahinovs mailto:aigarius@xxxxxxxxxx
#--------------------------------------------------------------#
| .''`. |
| : :' : Debian GNU/Linux & LAKA |
| `. `' http://www.debian.org http://www.laka.lv |
| `- |
#--------------------------------------------------------------#