Koozali.org: home of the SME Server

Backup to Hard Drive

elenezet

Re: Backup to Hard Drive
« Reply #15 on: January 20, 2003, 04:01:13 PM »
hello :o)

Ok it work fine but i have a question. If my server crash and i would like to restore data from backup. I do change from new install like indicate in the 2 how-to but how can i restore mysql base?
I have my extract-list like this:
/etc/e-smith/templates-custom
/etc/e-smith/templates-user-custom
/home/e-smith
/etc/ssh
/root
/etc/passwd
/etc/shadow
/etc/gshadow
/etc/group
/etc/smbpasswd
I feel as if mysql dump is in /etc/e-smith/db/mysql/ but what must i do to restore mysql base? And ldap? Is there something to do?
elenezet

nate

Re: Backup to Hard Drive
« Reply #16 on: January 22, 2003, 11:52:12 PM »
Mr. Des,
 
I followed your how to and everything seems to work except that the .gz files are not copied to the PC share.  I get this message via email from Cron Daemon:
 
-----

SMB connection failed
17719: session setup failed: ERRDOS - ERRnoaccess (Access denied.)

flexbackup version 0.9.8
/etc/flexbackup.conf syntax OK
 
-----
 
The archive files stay in /mnt/backup
 
Do I have the syntax right in fstab:
 
//server/share  /mnt/backup  smbfs  username=myusername,password=mypassword
 
the mount command works but when I try to cp the files to the //server/share I get "//server/share" is not a directory.
 
What am I doing wrong?

 
- Nate Hartman

Cyrus Bharda

Re: Backup to Hard Drive
« Reply #17 on: January 23, 2003, 03:34:16 AM »
Sounds like you have to take a look at the permissions set on the remote share, have you made sure that the share is read/write enabled for that user?

I just made a share on my W2k box that is read/write access for everyone, works fine :-)

Cyrus Bharda

David Sainsbury

Re: Backup to Hard Drive
« Reply #18 on: January 24, 2003, 04:15:27 PM »
Hi, I have been trying to get my server to backup to a zip drive instead of a share. The zip is atapi version on hdc. I have followed des's howto meticulously, but it just doesn't happen. Could anyone suggest any method for troublshooting or have any advice that might help please?

David Sainsbury

Re: Backup to Hard Drive
« Reply #19 on: January 24, 2003, 04:16:01 PM »
Hi, I have been trying to get my server to backup to a zip drive instead of a share. The zip is atapi version on hdc. I have followed des's howto meticulously, but it just doesn't happen. Could anyone suggest any method for troublshooting or have any advice that might help please?

elenezet

Re: Backup to Hard Drive
« Reply #20 on: February 21, 2003, 01:21:27 PM »
Hello

Were can i found a script that delete backup files older than x days ?
thanks in advance.

elenezet