Dear Reader,
Regarding the contrib backup2ws i have a few questions.
I use smeserver6.0.1, and want to use backup2ws to create a backup in the Primary ibay, /Primary/files/backup
Created jobs:
# 175374 = Normal Backup
Source: /home/e-smith/files/users
Destination: /home/e-smith/files/ibays/Primary/files/backup
Size: 665600 (kb)
Compression:0
User:Admin
Passwd: ********
Expiry:0
# 271696 = Normal Backup
Source: /home/e-smith/files/ibays/,/home/e-smith/files/users
Exclusion: /home/e-smith/files/ibays/Primary/files/ICT/,
Destination: /home/e-smith/files/ibays/Primary/files/backup
Size: 665600 (kb)
Compression:0
User:Admin
Passwd: ********
Expiry:0
# 911 = Disaster
Source: /home,/etc/e-smith/templates-custom,/etc/e-smith/templates-user-custom,/etc/group,/etc/gshadow,/etc/passwd,/etc/shadow,/etc/smbpasswd,/etc/ssh,/opt,/root
Exclusion: /home/httpd
Destination: /home/e-smith/files/ibays/Primary/files/backup
Size: 665600 (kb)
Compression:0
User:Admin
Passwd: ********
Expiry:0
I Tried the manual backup, with weekday: manual, hour: manual, minute: manual.
There are no entry's created for backup2ws in cron:
Oct 24 10:58:01 nks-sme01 CROND[3452]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 10:59:00 nks-sme01 CROND[3456]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:00:00 nks-sme01 CROND[3461]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:00:00 nks-sme01 CROND[3463]: (root) CMD (/usr/local/bin/raidmonitor -v)
Oct 24 11:01:00 nks-sme01 CROND[3506]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:01:00 nks-sme01 CROND[3507]: (root) CMD (run-parts /etc/cron.hourly)
Oct 24 11:02:00 nks-sme01 CROND[3514]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:03:00 nks-sme01 CROND[3531]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:04:00 nks-sme01 CROND[3535]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:05:00 nks-sme01 CROND[3552]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:06:01 nks-sme01 CROND[3569]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:07:00 nks-sme01 CROND[3573]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:08:00 nks-sme01 CROND[3596]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:09:00 nks-sme01 CROND[3608]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:10:00 nks-sme01 CROND[3634]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:11:00 nks-sme01 CROND[3675]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:12:01 nks-sme01 CROND[3701]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:13:00 nks-sme01 CROND[3718]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:14:00 nks-sme01 CROND[3722]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:15:00 nks-sme01 CROND[3727]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:15:00 nks-sme01 CROND[3728]: (root) CMD (/usr/local/bin/raidmonitor -v)
Oct 24 11:16:00 nks-sme01 CROND[3760]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:17:00 nks-sme01 CROND[3765]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:18:00 nks-sme01 CROND[3782]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:19:01 nks-sme01 CROND[3786]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:20:00 nks-sme01 CROND[3790]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:21:00 nks-sme01 CROND[3823]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:22:00 nks-sme01 CROND[3829]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:23:00 nks-sme01 CROND[3857]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:24:00 nks-sme01 CROND[3861]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:25:00 nks-sme01 CROND[3876]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:26:00 nks-sme01 CROND[3895]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:27:01 nks-sme01 CROND[3899]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:28:00 nks-sme01 CROND[3916]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:29:00 nks-sme01 CROND[3920]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:30:00 nks-sme01 CROND[3925]: (root) CMD (sh /home/e-smith/files/ibays/Primary/files/ICT/script/backupmysql.sh)
Oct 24 11:30:00 nks-sme01 CROND[3926]: (root) CMD (/usr/local/bin/raidmonitor -v)
Dir entry's in /etc/cron.d
antivirus.cron, backup, raidmonitor, spamfilter.cron, UCA.cron, USA.cron, warnquota
Tried packages:
dmc-mitel-backup2ws-0.0.1-16.noarch.rpm
smeserver-backup2ws-0.0.1-22dmay.noarch.rpm
rar-3.1.0-1dmc.i386.rpm
Both give the same results...none...
Reinstalltion also doesnt solve the problem...
Running:
/etc/e-smith/events/actions/conf-backup2ws
Gives no errors
[root@nks-sme01 backup]# /etc/e-smith/events/actions/conf-backup2ws
[root@nks-sme01 backup]#
There is an conf-backup2ws entry in /etc/e-smith/events/actions/, although the only entry created by backup2ws
After package installation did:
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot
Okay, decided to modify jobs to daily:
Created jobs:
# 175374 = Normal Backup
Source: /home/e-smith/files/users
Destination: /home/e-smith/files/ibays/Primary/files/backup
Size: 665600 (kb)
Compression:0
User:Admin
Passwd: ********
Expiry:0
Weekday: Daily
Hour: 11am
Minute:15
# 271696 = Normal Backup
Source: /home/e-smith/files/ibays/,/home/e-smith/files/users
Exclusion: /home/e-smith/files/ibays/Primary/files/ICT/,
Destination: /home/e-smith/files/ibays/Primary/files/backup
Size: 665600 (kb)
Compression:0
User:Admin
Passwd: ********
Expiry:0
Weekday: Daily
Hour: 11am
Minute:15
# 911 = Disaster
Source: /home,/etc/e-smith/templates-custom,/etc/e-smith/templates-user-custom,/etc/group,/etc/gshadow,/etc/passwd,/etc/shadow,/etc/smbpasswd,/etc/ssh,/opt,/root
Exclusion: /home/httpd
Destination: /home/e-smith/files/ibays/Primary/files/backup
Size: 665600 (kb)
Compression:0
User:Admin
Passwd: ********
Expiry:0
Weekday: Daily
Hour: 11am
Minute:15
Modifyd jobs, to Daily, 11am 00
Modifyd jobs, to Daily, 11am 15
Modifyd at 10am 35
Cron entry created:
Oct 24 11:50:00 nks-sme01 crond[1522]: (*system*) RELOAD (/etc/cron.d/backup2ws.175374)
/etc/cron.d
antivirus.cron backup2ws.175374 backup2ws.911 spamfilter.cron USA.cron
backup backup2ws.271696 raidmonitor UCA.cron warnquota
Seems 3 jobs are added since modifying jobs to daily...
But destination directory is still empty.
Rights 0750 for backup2ws.175374 backup2ws.911 backup2ws.271696 Maybe this is the problem?
Read on
http://myezserver.com/phpBB2/viewtopic.php?t=661, but this is about newer contrib for smeserver7.0 with cron right, since using manual, there shouldn't be a problem?
Webmail messages:
#>tail /var/log/messages :
Oct 24 11:11:01 nks-sme01 /etc/e-smith/web/panels/manager/cgi-bin/backup2ws[3673]: /home/e-smith/backup2ws: OLD 271696=backup2ws|Compression|0|Description|Backup NKS|Destination|/home/e-smith/files/ibays/Primary/files/backup/|Exclude|/home/e-smith/files/ibays/Primary/files/ICT/,|Expiry|0|Method|rar|Password|****|ScheduleHour|23|ScheduleMinute|manual|ScheduleWeekday|*|Size|665600|Source|/home/e-smith/files/ibays/,/home/e-smith/files/users|Username|admin
Oct 24 11:11:01 nks-sme01 /etc/e-smith/web/panels/manager/cgi-bin/backup2ws[3673]: /home/e-smith/backup2ws: NEW 271696=backup2ws|Compression|0|Description|Backup NKS|Destination|/home/e-smith/files/ibays/Primary/files/backup/|Exclude|/home/e-smith/files/ibays/Primary/files/ICT/,|Expiry|0|Method|rar|Password|****|ScheduleHour|23|ScheduleMinute|15|ScheduleWeekday|*|Size|665600|Source|/home/e-smith/files/ibays/,/home/e-smith/files/users|Username|admin
Oct 24 11:11:17 nks-sme01 /etc/e-smith/web/panels/manager/cgi-bin/backup2ws[3685]: /home/e-smith/backup2ws: OLD 911=backup2ws|Compression|0|Description|Disaster Recovery|Destination|/home/e-smith/files/ibays/Primary/backup/disaster|Exclude|/home/httpd|Expiry|0|Method|rar|Password|****|ScheduleHour|manual|ScheduleMinute|manual|ScheduleWeekday|manual|Size|665600|Source|/home,/etc/e-smith/templates-custom,/etc/e-smith/templates-user-custom,/etc/group,/etc/gshadow,/etc/passwd,/etc/shadow,/etc/smbpasswd,/etc/ssh,/opt,/root|Username|admin
Oct 24 11:11:18 nks-sme01 /etc/e-smith/web/panels/manager/cgi-bin/backup2ws[3685]: /home/e-smith/backup2ws: NEW 911=backup2ws|Compression|0|Description|Disaster Recovery|Destination|/home/e-smith/files/ibays/Primary/backup/disaster|Exclude|/home/httpd|Expiry|0|Method|rar|Password|****|ScheduleHour|manual|ScheduleMinute|manual|ScheduleWeekday|*|Size|665600|Source|/home,/etc/e-smith/templates-custom,/etc/e-smith/templates-user-custom,/etc/group,/etc/gshadow,/etc/passwd,/etc/shadow,/etc/smbpasswd,/etc/ssh,/opt,/root|Username|admin
Oct 24 11:11:18 nks-sme01 /etc/e-smith/web/panels/manager/cgi-bin/backup2ws[3685]: /home/e-smith/backup2ws: OLD 911=backup2ws|Compression|0|Description|Disaster Recovery|Destination|/home/e-smith/files/ibays/Primary/backup/disaster|Exclude|/home/httpd|Expiry|0|Method|rar|Password|****|ScheduleHour|manual|ScheduleMinute|manual|ScheduleWeekday|*|Size|665600|Source|/home,/etc/e-smith/templates-custom,/etc/e-smith/templates-user-custom,/etc/group,/etc/gshadow,/etc/passwd,/etc/shadow,/etc/smbpasswd,/etc/ssh,/opt,/root|Username|admin
Oct 24 11:11:18 nks-sme01 /etc/e-smith/web/panels/manager/cgi-bin/backup2ws[3685]: /home/e-smith/backup2ws: NEW 911=backup2ws|Compression|0|Description|Disaster Recovery|Destination|/home/e-smith/files/ibays/Primary/backup/disaster|Exclude|/home/httpd|Expiry|0|Method|rar|Password|****|ScheduleHour|11|ScheduleMinute|manual|ScheduleWeekday|*|Size|665600|Source|/home,/etc/e-smith/templates-custom,/etc/e-smith/templates-user-custom,/etc/group,/etc/gshadow,/etc/passwd,/etc/shadow,/etc/smbpasswd,/etc/ssh,/opt,/root|Username|admin
Oct 24 11:11:18 nks-sme01 /etc/e-smith/web/panels/manager/cgi-bin/backup2ws[3685]: /home/e-smith/backup2ws: OLD 911=backup2ws|Compression|0|Description|Disaster Recovery|Destination|/home/e-smith/files/ibays/Primary/backup/disaster|Exclude|/home/httpd|Expiry|0|Method|rar|Password|****|ScheduleHour|11|ScheduleMinute|manual|ScheduleWeekday|*|Size|665600|Source|/home,/etc/e-smith/templates-custom,/etc/e-smith/templates-user-custom,/etc/group,/etc/gshadow,/etc/passwd,/etc/shadow,/etc/smbpasswd,/etc/ssh,/opt,/root|Username|admin
Oct 24 11:11:18 nks-sme01 /etc/e-smith/web/panels/manager/cgi-bin/backup2ws[3685]: /home/e-smith/backup2ws: NEW 911=backup2ws|Compression|0|Description|Disaster Recovery|Destination|/home/e-smith/files/ibays/Primary/backup/disaster|Exclude|/home/httpd|Expiry|0|Method|rar|Password|****|ScheduleHour|11|ScheduleMinute|15|ScheduleWeekday|*|Size|665600|Source|/home,/etc/e-smith/templates-custom,/etc/e-smith/templates-user-custom,/etc/group,/etc/gshadow,/etc/passwd,/etc/shadow,/etc/smbpasswd,/etc/ssh,/opt,/root|Username|admin
Oct 24 11:11:36 nks-sme01 /etc/e-smith/web/panels/manager/cgi-bin/backup2ws[3695]: /home/e-smith/backup2ws: OLD 271696=backup2ws|Compression|0|Description|Backup NKS|Destination|/home/e-smith/files/ibays/Primary/files/backup/|Exclude|/home/e-smith/files/ibays/Primary/files/ICT/,|Expiry|0|Method|rar|Password|****|ScheduleHour|23|ScheduleMinute|15|ScheduleWeekday|*|Size|665600|Source|/home/e-smith/files/ibays/,/home/e-smith/files/users|Username|admin
Oct 24 11:11:36 nks-sme01 /etc/e-smith/web/panels/manager/cgi-bin/backup2ws[3695]: /home/e-smith/backup2ws: NEW 271696=backup2ws|Compression|0|Description|Backup NKS|Destination|/home/e-smith/files/ibays/Primary/files/backup/|Exclude|/home/e-smith/files/ibays/Primary/files/ICT/,|Expiry|0|Method|rar|Password|****|ScheduleHour|11|ScheduleMinute|15|ScheduleWeekday|*|Size|665600|Source|/home/e-smith/files/ibays/,/home/e-smith/files/users|Username|admin
I am coming closer to the point that i really don't know where to find the solution...and been searching for a few days.