Hi all, I was wondering if there was a way to use 'shutdown' to bring the system down to single user mode in order to do a full dump of all filesystems automatically. Currently I just use ufsdump in multi-user mode but I make sure no users are using the system. What I would like to do is add 'shutdown -y -g10 -i6' to my backup script so that the system goes to single user mode and then does a full system dump all by itself.
Also, how do I get ufsdump to wait for me (indefinately, like cpio) to change tapes instead of timing out? Right now it waits awhile (I assume as I wasn't there) and then just ends, the next line(s) in the script is executed and a full backup does not get done.
Please help, any suggestions are appreciated. Thanks in advance.
- Stuart
Also, how do I get ufsdump to wait for me (indefinately, like cpio) to change tapes instead of timing out? Right now it waits awhile (I assume as I wasn't there) and then just ends, the next line(s) in the script is executed and a full backup does not get done.
Please help, any suggestions are appreciated. Thanks in advance.
- Stuart