Amanda and FreeBSD snapshots



I am using an amanda 2.5 server on a FreeBSD 6.2 host. I have some
FreeBSD 5.3 clients running the amanda 2.4.4 client side version. I also
have an old BSD/OS machine running some flavor of amanda client.

I noticed that the dumps use the "ushf" options. BUt it would seem to me
that you'd also want the -L option as mentioned on the FreeBSD machine's
dump command man page:


-L This option is to notify dump that it is dumping a live
file system. To obtain a consistent dump image, dump takes
a snapshot of the file system in the .snap directory in the
root of the file system being dumped and then does a dump of
the snapshot. The snapshot is unlinked as soon as the dump
starts, and is thus removed when the dump is complete. This
option is ignored for unmounted or read-only file systems.
If the .snap directory does not exist in the root of the
file system being dumped, a warning will be issued and the
dump will revert to the standard behavior. This problem can
be corrected by creating a .snap directory in the root of
the file system to be dumped; its owner should be ``root'',
its group should be ``operator'', and its mode should be
``0770''.

This seems like a good option to use when running backups on the FreeBSD
clients.

Any amanda users out there know how to get amanda to use the -L option
on the FreeBSD machines, but not on the BSD/OS machine, suince it can't
do snapshots ?

Thanks
Chris Kottaridis (chriskot@xxxxxxxxxxxxx)
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: dump/restore dont work, handbook lies
    ... this all on a 7.0 freebsd system. ... Did you mount the large USB file system to /mnt? ... Otherwise it wrote the dump to /mnt on the old disk which you wiped. ... Try looking at that dump file on the USB unit using 'restore -vf' ...
    (freebsd-questions)
  • FreeBSD 6.2 + xinetd + amanda problem
    ... I seem to be running into a strange issue/bug that appears to be related to FreeBSD 6.2, manifesting itself in my case through problems with xinetd and amanda. ... After these errors finished the amanda server would report the selfcheck request timed out and suggest the host was down. ...
    (freebsd-hackers)
  • kernel panics on a 5.4-STABLE
    ... May 14 11:41:26 ldxp syslogd: kernel boot file is ... I was able to get and open a kernel dump but have no idea what ... Magic: FreeBSD Kernel Dump ... GNU gdb 6.1.1 ...
    (freebsd-questions)
  • Re: reboot after panic : page fault for two consecutive days now with FreeBSD stable 7.0
    ... In fact in many years of running FreeBSD I've not seen something just happen like this. ... It is a simi-production machine that cvsups daily and builds and installs a new world and kernel. ... Dump Length: 341225472B ... However, panics that "suddenly" start happening frequently on a system that has been stable for a while with no OS or workload changes made, are usually due to the hardware starting to fail. ...
    (freebsd-questions)
  • Re: reboot after panic : page fault for two consecutive days now with FreeBSD stable 7.0
    ... In fact in many years of running FreeBSD I've not seen something just happen like this. ... Dump Length: 341225472B ... I think that what I need is probably a crash course on debugging a crash and I really don't know where to start since after over 10 years with freebsd I've never needed it. ...
    (freebsd-questions)