I
I
Igor S2016-05-25 18:31:06
linux
Igor S, 2016-05-25 18:31:06

VolStatus Error and how to deal with it?

Firework!
Comrades, I'm trying to understand all the intricacies of the Bareos system.
We have 2 machines: dir and fd on one, sd on the other. A share is connected to sd via NFS, which, for some known reasons, is not available (and this is normal in our situation)
NFS is connected to the /srv/backup directory
SD config:

Device {
  Name = "TestStorage"
  Media Type = Archive
  Device Type = File
  Archive Device = /srv/backup/teststore
  Auto Deflate = both
  Auto Deflate Algorithm = LZO
  Label Media = yes;
  Random Access = yes
  Automatic Mount = yes
  Removable Media = no
  Always Open = no
}

DIR config
FileSet{
  Name = TestSet
  Include {
    Options {
      Compression = LZO
      Signature = MD5
    }
    File = "/etc/bareos/"
  }
}

Pool {
  Name = TestPool
  Pool Type = Backup
  Label Format = "Full-"
}

Job {
  Name = "TestBK"
  Client = gazer-fd
  Type = Backup
  File Set = TestSet
  Level = Full
  Pool = TestPool
  Storage = TestStorage
  Messages = Standard
}

In general, everything is very "by default"
We make the first backup, a Full-0001 file is created, subsequent backups are written to it.
We turn off the ball, we try to make a backup. The system is waiting for a connection
5 Full    TestBK.2016-05-25_16.12.25_10 is waiting for a mount request

and if at this moment you connect the ball back, then the task will not continue, but will fall off with an error. And the next backup will be made already in the Full-0002 file, and the previous one will receive the Error status.
And I can’t find \ understand how to reconnect this Volume, because it stores data.
I know that it can be done so that each backup will be stored in a separate Volume, but this does not suit me, I want to have 3 files for each client (Full-, Diff-, Inc-), and that each type of backup would be stored in your Volume
Tell me how to be in this situation

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor S, 2016-05-25
@xarek1986

I asked myself, I will answer

*update volume=Full-0001 
Parameters to modify:
     1: Volume Status
     2: Volume Retention Period
     3: Volume Use Duration
     4: Maximum Volume Jobs
     5: Maximum Volume Files
     6: Maximum Volume Bytes
     7: Recycle Flag
     8: Slot
     9: InChanger Flag
    10: Volume Files
    11: Pool
    12: Volume from Pool
    13: All Volumes from Pool
    14: All Volumes from all Pools
    15: Enabled
    16: RecyclePool
    17: Action On Purge
    18: Done
Select parameter to modify (1-18): 1
Updating Volume "gazer-fd_Full_TestPool.2016-05-25-19-08"
Current Volume status is: Used
Possible Values are:
     1: Append
     2: Archive
     3: Disabled
     4: Full
     5: Used
     6: Cleaning
     7: Read-Only
Choose new Volume Status (1-7): 5

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question