Raven2000 писал(а):ага да так что уже несколько раз сайт выдавал ошибку шлюза 502 (много людей) уже боюсь понедельника
=
Я очень рад, но я буду доволен только тогда когда вы ее примените у себя на предприятии.
22-Jul 08:10 gateway.sushivesla.mn-sd JobId 55: Job pdc_backup-job.2011-07-22_05.10.00_14 is waiting. Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "backup-disk1" (/home/backup)
Pool: pdc-pool
Media type: File
22-Jul 08:15 gateway.sushivesla.mn-dir JobId 55: Pruning oldest volume "pdc_volume"
55 Increme pdc_backup-job.2011-07-22_05.10.00_14 is waiting for an appendable Volume
56 Increme gateway_backup-job.2011-07-22_05.10.00_15 is waiting execution
57 Increme rkserver_backup-job.2011-07-22_05.30.00_16 is waiting execution
58 Increme 1c_backup-job.2011-07-22_06.10.00_17 is waiting execution
gateway#cat pdc_client.conf
# Backup the catalog database (after the nightly save)
Job {
Name = "pdc_backup-job"
Type = Backup
Level = Full
Client = pdc.sushivesla.mn-fd
FileSet = "pdc-fileset"
Storage = File-pdc
Schedule = "WeeclyCycle"
Messages = Daemon
Pool = pdc-pool
Write Bootstrap = "/var/db/bacula/pdc_backup-job.bsr"
Priority = 4 # run after main backup
}
# List of files to be backed up
FileSet {
Name = "pdc-fileset"
Include {
Options {
signature = MD5
compression = GZIP
}
File = /home
File = /etc
File = /srv
File = /var/lib
}
# If you backup the root directory, the following two excluded
# files can be useful
Exclude {
File = /tmp
File = /proc
File = /.journal
File = /.fsck
}
}
Pool {
Name = pdc-pool
Pool Type = Backup
Recycle = Yes
AutoPrune = Yes
Volume Retention = 365 days
Maximum Volume Bytes = 20G
Maximum Volumes = 7
Label Format = "pdc-"
Recycle Oldest Volume = Yes
}
Client {
Name = pdc.sushivesla.mn-fd
Address = pdc.sushivesla.mn
FDPort = 9102
Catalog = "MyCatalog"
Password = "123"
File Retention = 90 days
Job Retention = 90 days
Auto Prune = yes
}
Storage {
Name = File-pdc
Address = gateway.sushivesla.mn
SDPort = 9103
Password = "123"
Device = backup-disk1
Media Type = File
}
Schedule{
Name = "WeeclyCycle"
Run = Full 1st, 3rd mon at 05:10
Run = Differential 2nd , 4th mon at 05:10
Run = Incremental tue-sun at 05:10
}
gateway#df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ad4s1a 1.9G 444M 1.3G 24% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/ad6s1d 289G 51G 214G 19% /home/backup
/dev/ad4s1d 15G 32K 14G 0% /tmp
/dev/ad4s1e 124G 2.4G 112G 2% /usr
/dev/ad4s1f 145G 2.3G 131G 2% /var
devfs 1.0K 1.0K 0B 100% /var/named/dev
Каков суммарный обьем
File = /home
File = /etc
File = /srv
File = /var/lib
умножь на 2+20%
Maximum Volume Bytes = вставь сюдаG
Volume Retention = сделай 60 days
Maximum Volumes = 1
File Retention = 30 days
Job Retention = 30 days
Auto Prune = yes
Schedule{
Name = "WeeclyCycle"
Run = Full 1st, 3rd mon at 05:10
Run = Differential 2nd , 4th mon at 05:10
2011-07-25 05:30:02 gateway.sushivesla.mn-dir JobId 74: Start Backup JobId 74, Job=rkserver_backup-job.2011-07-25_05.30.00_11
2011-07-25 05:30:02 gateway.sushivesla.mn-dir JobId 74: Using Device "backup-disk1"
2011-07-25 05:30:28 rkserver-fd JobId 74: DIR and FD clocks differ by 25 seconds, FD automatically compensating.
2011-07-25 05:30:03 gateway.sushivesla.mn-sd JobId 74: Volume "rkserver-volume" previously written, moving to end of data.
2011-07-25 05:30:03 gateway.sushivesla.mn-sd JobId 74: Ready to append to end of Volume "rkserver-volume" size=24884063652
2011-07-25 05:30:31 rkserver-fd JobId 74: Generate VSS snapshots. Driver="VSS Win 2003", Drive(s)="EF"
2011-07-25 05:45:33 rkserver-fd JobId 74: Warning: Generate VSS snapshot of drive "e:\" failed. VSS support is disabled on this drive.
2011-07-25 05:45:33 rkserver-fd JobId 74: Warning: Generate VSS snapshot of drive "f:\" failed. VSS support is disabled on this drive.
2011-07-25 05:56:01 gateway.sushivesla.mn-sd JobId 74: Job write elapsed time = 00:25:58, Transfer rate = 155.1 K Bytes/second
2011-07-25 05:56:01 gateway.sushivesla.mn-dir JobId 74: Bacula gateway.sushivesla.mn-dir 5.0.3 (04Aug10): 25-Jul-2011 05:56:01
Build OS: amd64-portbld-freebsd8.2 freebsd 8.2-RELEASE
JobId: 74
Job: rkserver_backup-job.2011-07-25_05.30.00_11
Backup Level: Differential, since=2011-07-22 17:24:29
Client: "rkserver.sushivesla.mn-fd" 5.0.3 (04Aug10) Linux,Cross-compile,Win32
FileSet: "rkserver-fileset" 2011-07-19 13:47:51
Pool: "rkserver-pool" (From Job resource)
Catalog: "MyCatalog" (From Client resource)
Storage: "File-rkserver" (From Job resource)
Scheduled time: 25-Jul-2011 05:30:00
Start time: 25-Jul-2011 05:30:03
End time: 25-Jul-2011 05:56:01
Elapsed time: 25 mins 58 secs
Priority: 4
FD Files Written: 75
SD Files Written: 75
FD Bytes Written: 241,655,094 (241.6 MB)
SD Bytes Written: 241,667,230 (241.6 MB)
Rate: 155.1 KB/s
Software Compression: 3.0 %
VSS: yes
Encryption: no
Accurate: no
Volume name(s): rkserver-volume
Volume Session Id: 8
Volume Session Time: 1311440514
Last Volume Bytes: 25,125,914,084 (25.12 GB)
Non-fatal FD errors: 2
SD Errors: 0
FD termination status: OK
SD termination status: OK
Termination: Backup OK -- with warnings
2011-07-25 05:56:01 gateway.sushivesla.mn-dir JobId 74: Begin pruning Jobs older than 2 months .
2011-07-25 05:56:01 gateway.sushivesla.mn-dir JobId 74: No Jobs found to prune.
2011-07-25 05:56:01 gateway.sushivesla.mn-dir JobId 74: Begin pruning Jobs.
2011-07-25 05:56:01 gateway.sushivesla.mn-dir JobId 74: No Files found to prune.
2011-07-25 05:56:01 gateway.sushivesla.mn-dir JobId 74: End auto prune.
26-Aug 15:40 FreeBSD_IB.local-dir JobId 13: Start Backup JobId 13, Job=test_backup_job.2011-08-26_15.40.32_05
26-Aug 15:40 FreeBSD_IB.local-dir JobId 13: Using Device "File-test"
26-Aug 15:40 test-fd JobId 13: Error: /home/kern/bacula/k/bacula/src/lib/bsock.c:207
gethostbyname() for host "FreeBSD_IB.local" failed: ERR=Valid name, no data
record of resquested type.
26-Aug 15:40 test-fd JobId 13: Fatal error: Failed to connect to Storage daemon:
FreeBSD_IB.local:9103
26-Aug 15:40 FreeBSD_IB.local-dir JobId 13: Fatal error: Bad response to Storage command: wanted
2000 OK storage
, got 2902 Bad storage
Device FileStorage (/usr/home/bacula/backup)is not open
Device File-test (/usr/home/bacula/backup)is not open
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 2