I'm having difficulty in copying pools from one NAS storage device to
another in v15.0.2 and and seeking some help.

Put simply, I want to backup to one storage and then copy the resulting
full/diff/incr pools to a second storage which could be off-site. I use
separate full/diff/incr backup pools, copying to corresponding copy pools.

The storage clauses are all in the pool definitions and not in the job
definitions following the copy/migrate example in the manual.

The backup jobs and the copy job full run fine but the diff and incr copy
jobs won't run and Baculum returns an "invalid parameter" error on the
diff/incr copy job. I suppose this is because Level is not a valid
parameter for a copy job but is required either in the job or schedule
definitions.

Is it possible to copy from one storage to another?

A skeleton of the bacula-dir.conf is below with the non-essential clauses
removed.

Job {
  Name = "m910q-backup" #regular backup job
  Description = "m910q backup"
  Type = "Backup"
  Level = "Full"
  Pool = "m910q-backup-full"
  FullBackupPool = "m910q-backup-full"
  IncrementalBackupPool = "m910q-backup-incremental"
  DifferentialBackupPool = "m910q-backup-differential"
  Client = "m910q"
  ...
}
Job {
  Name = "m910q-copy" #Copy backup pools to copy pools on second storage
  Description = "m910q copy"
  Type = "Copy"
  Level = "Full"
  Pool = "m910q-backup-full"
  Client = "m910q"
  SelectionPattern = "m910q-backup" #the backup job name
  SelectionType = "PoolUncopiedJobs"
  ...
 }
#
#Backup pools on storage1. There are 3 pools, full/diff/incr
Pool {
  Name = "m910q-backup-differential"
  Description = "m910q"
  PoolType = "Backup"
  LabelFormat = "m910q-backup-differential"
  NextPool = "catalog-copy-differential"
  Storage = "storage1"
  ...
}
Pool {
  Name = "m910q-backup-full"
  Description = "m910q"
  PoolType = "Backup"
  LabelFormat = "m910q-backup-full"
  NextPool = "m910q-copy-full"
  Storage = "storage1"
  ...
}
Pool {
  Name = "m910q-backup-incremental"
  Description = "m910q"
  PoolType = "Backup"
  LabelFormat = "m910q-backup-incremental"
  NextPool = "m910q-copy-incremental"
  Storage = "storage1"
  ...
}
#
#Copy pools on storage2. Similarly 3 copy pools for full/diff/incr
Pool {
  Name = "m910q-copy-differential"
  Description = "m910q"
  PoolType = "Backup"
  LabelFormat = "m910q-copy-differential"
  Storage = "storage2"
  ...
}
Pool {
  Name = "m910q-copy-full"
  Description = "m910q copy"
  PoolType = "Backup"
  LabelFormat = "m910q-copy-full"
  Storage = "storage2"
  ...
}
Pool {
  Name = "m910q-copy-incremental"
  Description = "m910q"
  PoolType = "Backup"
  LabelFormat = "m910q-copy-incremental"
  Storage = "storage2"
  ...
}

Thanks for any help.

Best
-Chris
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to