In order to create more space on one of my SD machines, I have created a new
Device entry
in the sd.conf file:
Device {
Name = Tank-device
Media Type = Tank-file
Archive Device = /backup/bacula
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
Device {
Name = Tank-large-device
Media Type = Tank-large-file
Archive Device = /opt/bacula
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
I added the new disk partition /opt/bacula as /backup/bacula was getting
full.
To free up space on the old Device area, I wanted to move the job volumes
from the old device to the new device, and just change the "Storage" field
in
the job to the one that accesses the new Device.
Job {
Name = utm-wireless-system
Enabled = yes
JobDefs = DefaultJob
Client = utm-wireless-fd
FileSet = "NS-System"
Storage = Storage-remote-tank-large <--- new larger storage area
Full Backup Pool = utm-wireless-full
Differential Backup Pool = utm-wireless-diff
Incremental Backup Pool = utm-wireless-inc
}
Storage {
Name = Storage-remote-tank
# Do not use "localhost" here
Address = tank.a.b.org # N.B. Use a fully qualified name here
SDPort = 9103
Password = "asdasdsd"
Device = Tank-device
Media Type = Tank-file
}
Storage {
Name = Storage-remote-tank-large
# Do not use "localhost" here
Address = tank.a.b.org # N.B. Use a fully qualified name here
SDPort = 9103
Password = "asasdasd"
Device = Tank-large-device
Media Type = Tank-large-file
}
My question is, is there a method for moving my current related volume files
over to the the new Storage device (/opt/bacula) seamlessly? They look like:
tank: ls -ltr utm*
-rw-r----- 1 bacula bacula 376261049 Apr 1 2007 utm-wireless-full-0002
-rw-r----- 1 bacula bacula 287201254 May 9 15:24 utm-wireless-full-0003
-rw-r----- 1 bacula bacula 204155050 Jul 25 02:50 utm-wireless-diff-0003
-rw-r----- 1 bacula bacula 163371571 Aug 12 12:28 utm-wireless-diff-0004
-rw-r----- 1 bacula bacula 174128939 Aug 21 22:29 utm-wireless-diff-0005
-rw-r----- 1 bacula bacula 176373784 Aug 26 07:35 utm-wireless-diff-0001
-rw-r----- 1 bacula bacula 243285162 Sep 4 11:36 utm-wireless-full-0004
-rw-r----- 1 bacula bacula 1252243055 Oct 4 05:29 utm-wireless-inc-0002
-rw-r----- 1 bacula bacula 834878651 Oct 11 00:04 utm-wireless-full-0001
-rw-r----- 1 bacula bacula 3829161368 Oct 11 03:34 utm-wireless-inc-0003
-rw-r----- 1 bacula bacula 530104601 Oct 14 03:00 utm-wireless-diff-0002
-rw-r----- 1 bacula bacula 2944219361 Oct 26 14:19 utm-wireless-inc-0001
--
Russell Sutherland
russ AT madhaus . cns . utoronto . ca
+1.416.978.0470 [ voice ]
+1.416.978.6620 [ fax ]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users