Hi again.. I have managed to log onto the 2003 server now and here it gets funny..
I have 4 new lines in panel "Administration/Backup or restore"
I´ll try to generate a backup job:
It looks like this
NB: I have my 2003 server in hosts file so 192.168.0.2 wich is my 2003 server is named "filserver"
Configure Workstation Backup
This panel displays the present workstation backup configuration. You can change it in this panel and the next one.
Backup is enabled.
Backup is made on LAN workstation filserver via cifs
Destination backup share folder is Serverbackup
Login is username "used local superuser account"
Password is XXXX
Number of rotating backup sets is 1
Number of daily backups contained in each set is 1
Compression level (0-7) of backup is 4
Daily backup occurs at 14:00
Each daily backup session is cleanly timed out after 1h
Full backup sessions (new backup set) are allowed everyday
at 14:00 the following comes up in messages
14:00:01 router /sbin/e-smith/do_backupwk[17561]: /home/e-smith/db/backups: OLD 1162645201=(undefined)
Nov 4 14:00:01 router /sbin/e-smith/do_backupwk[17561]: /home/e-smith/db/backups: NEW 1162645201=backup_record
Nov 4 14:00:01 router /sbin/e-smith/do_backupwk[17561]: /home/e-smith/db/backups: OLD 1162645201=backup_record
Nov 4 14:00:01 router /sbin/e-smith/do_backupwk[17561]: /home/e-smith/db/backups: NEW 1162645201=backup_record|StartEpochTime|1162645201
Nov 4 14:00:01 router /sbin/e-smith/do_backupwk[17561]: /home/e-smith/db/backups: OLD 1162645201=backup_record|StartEpochTime|1162645201
Nov 4 14:00:01 router /sbin/e-smith/do_backupwk[17561]: /home/e-smith/db/backups: NEW 1162645201=backup_record|BackupType|workstation|StartEpochTime|1162645201
Nov 4 14:00:01 router esmith::event[17562]: Processing event: pre-backup
Nov 4 14:00:01 router esmith::event[17562]: Running event handler: /etc/e-smith/events/pre-backup/S10mysql-delete-dumped-tables
Nov 4 14:00:01 router esmith::event[17562]: S10mysql-delete-dumped-tables=action|Event|pre-backup|Action|S10mysql-delete-dumped-tables|Start|1162645201 773364|End|1162645201 778396|Elapsed|0.005032
Nov 4 14:00:01 router esmith::event[17562]: Running event handler: /etc/e-smith/events/pre-backup/S20mysql-dump-tables
Nov 4 14:00:01 router esmith::event[17562]: S20mysql-dump-tables=action|Event|pre-backup|Action|S20mysql-dump-tables|Start|1162645201 779083|End|1162645201 893544|Elapsed|0.114461
Nov 4 14:00:01 router esmith::event[17562]: Running event handler: /etc/e-smith/events/pre-backup/S50rewind-tape
Nov 4 14:00:02 router esmith::event[17562]: S50rewind-tape=action|Event|pre-backup|Action|S50rewind-tape|Start|1162645201 894239|End|1162645202 174943|Elapsed|0.280704
Nov 4 14:00:04 router /sbin/e-smith/do_backupwk[17561]: /home/e-smith/db/backups: OLD 1162645201=backup_record|BackupType|workstation|StartEpochTime|1162645201
Nov 4 14:00:04 router /sbin/e-smith/do_backupwk[17561]: /home/e-smith/db/backups: NEW 1162645201=backup_record|BackupType|workstation|EndEpochTime|1162645204|StartEpochTime|1162645201
Nov 4 14:00:04 router /sbin/e-smith/do_backupwk[17561]: /home/e-smith/db/backups: OLD 1162645201=backup_record|BackupType|workstation|EndEpochTime|1162645204|StartEpochTime|1162645201
Nov 4 14:00:04 router /sbin/e-smith/do_backupwk[17561]: /home/e-smith/db/backups: NEW 1162645201=backup_record|BackupType|workstation|EndEpochTime|1162645204|Result|backup:7424|StartEpochTime|1162645201
But no backupfile is made on 2003 server... hmmmm...
OK another way to make backups is to use the other New button in my SME panel "Backup Disk ARchive"
I have managed to create a job called "stdbackup"
I fired it up by manually clicking "Backup" and the result is here.. fine
Nov 4 14:06:52 router e-smith-bg: Creating /mnt/dar2/stdbackup dir
Nov 4 14:06:52 router e-smith-bg: Connecting /mnt/dar2/stdbackup to //filserver/Serverbackup
Nov 4 14:06:52 router e-smith-bg: Expanding /etc/dar2/stdbackup template
Nov 4 14:06:52 router e-smith-bg: Creating destination /router.linwin.dk/stdbackup dir
Nov 4 14:06:52 router e-smith-bg: Expiring old backups
Nov 4 14:06:52 router e-smith-bg: Executing pre-backup event
Nov 4 14:06:52 router esmith::event[17800]: Processing event: pre-backup
Nov 4 14:06:52 router esmith::event[17800]: Running event handler: /etc/e-smith/events/pre-backup/S10mysql-delete-dumped-tables
Nov 4 14:06:52 router esmith::event[17800]: S10mysql-delete-dumped-tables=action|Event|pre-backup|Action|S10mysql-delete-dumped-tables|Start|1162645612 649623|End|1162645612 654883|Elapsed|0.00526
Nov 4 14:06:52 router esmith::event[17800]: Running event handler: /etc/e-smith/events/pre-backup/S20mysql-dump-tables
Nov 4 14:06:52 router esmith::event[17800]: S20mysql-dump-tables=action|Event|pre-backup|Action|S20mysql-dump-tables|Start|1162645612 655594|End|1162645612 737923|Elapsed|0.082329
Nov 4 14:06:52 router esmith::event[17800]: Running event handler: /etc/e-smith/events/pre-backup/S50rewind-tape
Nov 4 14:06:52 router esmith::event[17800]: S50rewind-tape=action|Event|pre-backup|Action|S50rewind-tape|Start|1162645612 738683|End|1162645612 920405|Elapsed|0.181722
Nov 4 14:06:52 router e-smith-bg: Verbose logging is off
Nov 4 14:06:52 router e-smith-bg: Performing stdbackup backup
Nov 4 14:06:52 router e-smith-bg: No terminal found for user interaction. All questions will be assumed a negative answer (less destructive choice), which most of the time will abort the program.
Nov 4 14:07:28 router e-smith-bg:
Nov 4 14:07:28 router e-smith-bg:
Nov 4 14:07:28 router e-smith-bg: --------------------------------------------
Nov 4 14:07:28 router e-smith-bg: 1770 inode(s) saved
Nov 4 14:07:28 router e-smith-bg: with 0 hard link(s) recorded
Nov 4 14:07:28 router e-smith-bg: 0 inode(s) changed at the moment of the backup
Nov 4 14:07:28 router e-smith-bg: 0 inode(s) not saved (no inode/file change)
Nov 4 14:07:28 router e-smith-bg: 0 inode(s) failed to save (filesystem error)
Nov 4 14:07:28 router e-smith-bg: 240 inode(s) ignored (excluded by filters)
Nov 4 14:07:28 router e-smith-bg: 0 inode(s) recorded as deleted from reference backup
Nov 4 14:07:28 router e-smith-bg: --------------------------------------------
Nov 4 14:07:28 router e-smith-bg: Total number of inode considered: 2010
Nov 4 14:07:28 router e-smith-bg: --------------------------------------------
Nov 4 14:07:28 router e-smith-bg:
Nov 4 14:07:28 router e-smith-bg: Listing stdbackup archives on target:
Nov 4 14:07:28 router e-smith-bg: total 104932
Nov 4 14:07:28 router e-smith-bg: -rw-rw-rw- 1 root admin 107450147 Nov 4 2006 2006.11.04.1.dar
Nov 4 14:07:28 router e-smith-bg:
Nov 4 14:07:28 router e-smith-bg: Total target disk space usage:
Nov 4 14:07:28 router e-smith-bg: Filesystem Size Used Avail Use% Mounted on
Nov 4 14:07:28 router e-smith-bg: //filserver/Serverbackup
Nov 4 14:07:28 router e-smith-bg: 112G 106G 6.2G 95% /mnt/dar2/stdbackup
Nov 4 14:07:28 router e-smith-bg:
Nov 4 14:07:28 router e-smith-bg: Executing post-backup event
Nov 4 14:07:29 router esmith::event[17829]: Processing event: post-backup
Nov 4 14:07:29 router esmith::event[17829]: Running event handler: /etc/e-smith/events/post-backup/S10mysql-delete-dumped-tables
Nov 4 14:07:29 router esmith::event[17829]: S10mysql-delete-dumped-tables=action|Event|post-backup|Action|S10mysql-delete-dumped-tables|Start|1162645649 492291|End|1162645649 497845|Elapsed|0.005554
Nov 4 14:07:29 router esmith::event[17829]: Running event handler: /etc/e-smith/events/post-backup/S50rewind-tape
Nov 4 14:07:29 router esmith::event[17829]: S50rewind-tape=action|Event|post-backup|Action|S50rewind-tape|Start|1162645649 498562|End|1162645649 674327|Elapsed|0.175765
Nov 4 14:07:29 router e-smith-bg: Dismounting /mnt/dar2/stdbackup
Nov 4 14:07:29 router e-smith-bg:
Nov 4 14:07:29 router e-smith-bg: Sat Nov 4 14:06:51 CET 2006 - backup started
Nov 4 14:07:29 router e-smith-bg: Sat Nov 4 14:07:29 CET 2006 - backup finished
Year i have finally created a Dar file on my 2003 server with the following name:"2006.11.04.1.dar" filesize among 107 MB..
Now I want to verify my backup with Panel "Administration/Backup or restore" click "Verify Workstation Backup"
stdbackup() is preselected and i click "verify"
Result is here:
The following files are contained in the backup file:
Aborting program. User refused to continue while asking: /mnt/smb/router.linwin.dk/stdbackup/2006.1.dar is required for further operation, please provide the file.
Error while reading files from : /mnt/smb/router.linwin.dk/stdbackup/2006
What is wrong with the filename here.
Hmm . Is the mountpoint missing? nope
[root@router router.linwin.dk]# ls
dar-catalog stdbackup
[root@router router.linwin.dk]# cd stdbackup/
[root@router stdbackup]# ls
2006.11.04.1.dar
[root@router stdbackup]#
I now have 2 new folders on SME . /mnt/dar2 and /mnt/smb..
One of them is mounted to my 2003 server /mnt/smb and the other one /mnt/dar2 has been umounted by the backupscript..
How can i verify this backup ?
What am I doing wrong...?
I´m getting a little confused here...
Darrel/jpl:
Pls bear with me as I'm a newbe and doesn't know where to edit those files.
NB: My mtab is growing "1 line" each time i try to perform the verify:
/dev/mapper/main-root / ext3 rw,usrquota,grpquota 0 0
none /proc proc rw 0 0
none /sys sysfs rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
usbfs /proc/bus/usb usbfs rw 0 0
/dev/md1 /boot ext3 rw 0 0
none /dev/shm tmpfs rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
//filserver/Serverbackup /mnt/smb cifs rw,mand 0 0
//filserver/Serverbackup /mnt/smb cifs rw,mand 0 0
//filserver/Serverbackup /mnt/smb cifs rw,mand 0 0
//filserver/Serverbackup /mnt/smb cifs rw,mand 0 0
//filserver/Serverbackup /mnt/smb cifs rw,mand 0 0
//filserver/Serverbackup /mnt/smb cifs rw,mand 0 0
//filserver/Serverbackup /mnt/smb cifs rw,mand 0 0