[Bacula-users] Simple backup to USB
2010-01-05 14:38:12
I'm having problems setting up a backup to a USB Drive.
The Drive is formated using Fat32 and auto mounted using fstab.
The backup destination is /mnt/usb1/backups, owner is root:users and
mode is 777.
My SD is configured like this:
Device {
Name = usb-drive-1
Media Type = File
Device Type = File
Archive Device = /mnt/usb1/backups
LabelMedia = yes;
Random Access = Yes;
AutomaticMount = yes;
RemovableMedia = no;
AlwaysOpen = yes;
}
My storage is configured like this:
Storage {
Name = usb01
Address = Server
SDPort = 9103
Password = REMOVED
Device = usb-drive-1
Media Type = File
}
My Pool is configured like this:
Pool {
Name = CatalogBackupPool
Label Format = CatalogBackup-
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 15 days
Maximum Volumes = 5
Maximum Volume Bytes = 600M
}
And my job like this:
Job {
Name = "BackupCatalog"
Type = Backup
Client = Server-fd
Storage = usb01
Pool = CatalogBackupPool
Messages = Standard
Level = Full
FileSet = "Catalog"
Schedule = "DailyCycle"
RunBeforeJob = "/usr/bin/awk -f
/etc/bacula/scripts/make_catalog_backup_awk -v cat1=Bacula
/etc/bacula/bacula-dir.conf"
RunAfterJob = "/etc/bacula/scripts/delete_catalog_backup"
Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr"
Priority = 11
}
Everytime i try to run the job i get an error saying:
JobId 37: Warning: label.c:351 Open device "usb-drive-1"
(/mnt/usb1/backups) Volume "CatalogBackup-0001" failed: ERR=dev.c:490
Could not open: /mnt/usb1/backups/CatalogBackup-0001, ERR=Permission
denied
In fact the file /mnt/usb1/backups/CatalogBackup-0001 doesn't exists,
but shouldn't bacula create it ?
What is the problem ???
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Bacula-users] Simple backup to USB,
Pedro Gomes <=
|
|
|