Re: [Bacula-users] Problem with backup to usb

2010-01-14 Thread Pedro Gomes
Genuis how come i didn't remeber that.

I will try to format the drive to ext4

On Thu, Jan 14, 2010 at 3:32 PM, Carlo Filippetto
 wrote:
> FAT32 don't support file larger the 4Gb
>
>
>
> 2009/12/22 Pedro Gomes :
>> Folder as mode set to 777, i know that i won't be necessary all the
>> permissions but even so i'm no able to make it work.
>> As for mount, the usb drive is auto-mounted via etc/fstab.
>>
>> The filesystem is FAT32, is there any problem with this ?
>>
>> On Mon, Dec 21, 2009 at 8:40 PM, John Drescher  wrote:
>>> 2009/12/21 Pedro Miguel Ventura Gomes :
>>>> I'm not being able to backup for a mounted usb external disk.
>>>>
>>>> My jobs fail with this error:
>>>>
>>>> 21-Dec 19:29 Home-Server-sd JobId 21: 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
>>>>
>>>> /mnt/usb1/backups exists and owner is bacula:disk with mode 777.
>>>> CatalogBackup-0001 file doesn't exists, i can't figure out why can't bacula
>>>> create it.
>>>>
>>>
>>> What about folder/mount permissions? I am assuming that the filesystem
>>> is not fat or vfat.
>>>
>>> John
>>>
>>>
>>
>> --
>> 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@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>
>

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with backup to usb

2010-01-14 Thread Pedro Gomes
Folder as mode set to 777, i know that i won't be necessary all the
permissions but even so i'm no able to make it work.
As for mount, the usb drive is auto-mounted via etc/fstab.

The filesystem is FAT32, is there any problem with this ?

On Mon, Dec 21, 2009 at 8:40 PM, John Drescher  wrote:
> 2009/12/21 Pedro Miguel Ventura Gomes :
>> I'm not being able to backup for a mounted usb external disk.
>>
>> My jobs fail with this error:
>>
>> 21-Dec 19:29 Home-Server-sd JobId 21: 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
>>
>> /mnt/usb1/backups exists and owner is bacula:disk with mode 777.
>> CatalogBackup-0001 file doesn't exists, i can't figure out why can't bacula
>> create it.
>>
>
> What about folder/mount permissions? I am assuming that the filesystem
> is not fat or vfat.
>
> John
>
>

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Simple backup to USB

2010-01-05 Thread Pedro Gomes
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with backup to usb

2009-12-22 Thread Pedro Gomes
Folder as mode set to 777, i know that i won't be necessary all the
permissions but even so i'm no able to make it work.
As for mount, the usb drive is auto-mounted via etc/fstab.

The filesystem is FAT32, is there any problem with this ?

On Mon, Dec 21, 2009 at 8:40 PM, John Drescher  wrote:
> 2009/12/21 Pedro Miguel Ventura Gomes :
>> I'm not being able to backup for a mounted usb external disk.
>>
>> My jobs fail with this error:
>>
>> 21-Dec 19:29 Home-Server-sd JobId 21: 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
>>
>> /mnt/usb1/backups exists and owner is bacula:disk with mode 777.
>> CatalogBackup-0001 file doesn't exists, i can't figure out why can't bacula
>> create it.
>>
>
> What about folder/mount permissions? I am assuming that the filesystem
> is not fat or vfat.
>
> John
>
>

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users