On Tue, Apr 04, 2006 at 09:22:21AM +0200, Paul Bijnens wrote: > On 2006-04-04 06:12, Jon LaBadie wrote: > >On Mon, Apr 03, 2006 at 08:34:37PM -0400, Guy Dallaire wrote: > > > >I was hoping that was the case and that you weren't restoring specific > >files. > >Amanda, at least with gnutar, restores to the state "as of a specified > >date". > >For a file, this is easy to visualize, what ever were the contents of that > >file. In this case the "file" was a directory and it was being restored to > >the state it was on the specified date. So files now missing had to be > >restored, files different had to be changed, and files not present then > >had to be deleted. > > > >>I now realize that I taught amanda would restore WITHOUT DELETING or > >>overwriting files, which is not the case. I mean, I realize that if a > >>file had been modified this morning in that directory, the restore > >>would have restored an older version of the file... > > I wouldn't expect anything other. > > > >> > >>It would be fun to have an option to overwrite "only if newer" or to > >>prevent deleting. I don't know if gnu tar has such options. But it > >>would be nice. That's the kind of thing that would be nice to have in > >>a GUI. > > But modifying amrecover to omit "." from the expansion of "*", just > as the shell, would already be a lot better. > > > > > >If gnutar has such extract options, perhaps you might want to submit > >an RFE. > > And optionally add the gnutar flags: > > --keep-old-files don't replace existing files when extracting > --keep-newer-files don't replace existing files that are newer than > their archive copies
The latter is not a 1.13.X option. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road (609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
