|
Search tenon.com
Thanks to:
|
|
Post.Office
Howdy:
On 02/26/2003 14:53 USA PT (-0800), rroberts@xxxxxxxxxxxxxxx ( Rick
Roberts ), wrote...
>Iím a Mac guy. What does ìBack up the following items making sure to
>maintain permissions and linksì mean exactly? Whatís wrong with
>including the syntax?! Argh.
The instructions could use an example. Try this script ( adj.
"Your_Partition" to the name of a partition on yoour system w/ plenty of
space ):
Sample Permissions ( in default directory for "root" ):
==========
-rwxr----- 1 root wheel 431 Jul 29 13:07:29 2002 POBkup_All*
==========
Sample script:
========== First line of script is below ==========
#!/bin/sh
## -- File: POBkup_All gb, 020301
## -- Backs up all Post.Office files as below in this order:
## -- Program Directory , Spooling Directory, Mailbox Directory
## -- Check for parameter
if [ $# -ne 1 ]; then
echo 1>&2 Usage: $0 date_as_yymmdd
exit 127
fi
cd /
tar czvf /Volumes/Your_Partition/P.O_Complete_Bkup.$1.tar.gz \
/etc/post.office.conf \
/usr/local/post.office \
/var/spool/post.office \
/var/spool/mailbox
========== Last line of script is above ==========
Run the script ( ./POBkup_All ) w/o any parameters to see what it
wants for a parameter.
Adjust anything else to your requirements.
HTH.
Glenn
---------
Tenon Intersystems' Post.Office Mailing List
To unsubscribe: send mailto:post_office-request@xxxxxxxxxxxxxxx
with the body only containing:
unsubscribe
Find the searchable mailing list archives at:
http://postoffice.computeroil.com/
|
| <Prev in Thread] |
Current Thread |
[Next in Thread> |
|
Re: Backup instructions,
Glenn A . Bookout <=
|
| Tenon Home |
Products |
Order |
Contact Us |
About Tenon |
Register |
Tech Support |
Resources |
Press Room |
Mailing Lists |
|
Copyright©2003 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara,
CA 93101. All rights reserved.
Questions about our website - Contact:
webmaster@tenon.com.
|
|