Discussion:
[bareos-users] Retention problem?
g***@armazemdc.com.br
2018-08-11 22:17:05 UTC
Permalink
Why Bareos don't create directory structure?

Retantion problem? I don't understand why?

"You have selected the following JobIds: 1927,1933,1949,1965

Building directory tree for JobId(s) 1927,1933,1949,1965 ...

For one or more of the JobIds selected, no files were found,
so file selection is not possible.
Most likely your retention policy pruned the files.

Do you want to restore all the files? (yes|no): "


### list jobs (resumed)

| 1,927 | Fs01-XXX | fs01.XXX | 2018-08-06 19:17:18 | B | F | 1,237,753 | 391,738,616,475 | T |
| 1,933 | Fs01-XXX | fs01.XXX | 2018-08-07 09:02:22 | B | I | 22,732 | 491,118,862 | W |
| 1,949 | Fs01-XXX | fs01.XXX | 2018-08-08 05:00:01 | B | I | 23,246 | 525,496,536 | W |
| 1,965 | Fs01-XXX | fs01.XXX | 2018-08-09 05:00:01 | B | I | 23,238 | 551,103,160 | T |

### pools configuration

Pool {
Name = Yearly-XXX
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 60 months
Maximum Volume Bytes = 25G
Label Format = "Yearly-XXX-"
Action On Purge = Truncate
Storage = StgXXX01
Catalog = XXX
}
Pool {
Name = Daily-XXX
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 10 days
Maximum Volume Bytes = 10G
Label Format = "Daily-XXX-"
Action On Purge = Truncate
Storage = StgXXX01
Catalog = XXX
}
Pool {
Name = Monthly-XXX
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 365 days
Maximum Volume Bytes = 25G
Label Format = "Mouthly-XXX-"
Action On Purge = Truncate
Storage = StgXXX01
Catalog = XXX
}
Pool {
Name = Weekly-XXX
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 30 days
Maximum Volume Bytes = 10G
Label Format = "Weekly-XXX-"
Action On Purge = Truncate
Storage = StgXXX01
Catalog = XXX
}

### Volumes per JobId

JobID: 1927
Volume name(s): Monthly-XXX-1842|Monthly-XXX-1822|Monthly-XXX-1824|Monthly-XXX-1826|Monthly-XXX-1828|Monthly-XXX-1830|Monthly-XXX-1832|Mensal-Dal
coquio-1834|Monthly-XXX-1836|Monthly-XXX-1838|Monthly-XXX-1840|Monthly-XXX-1844|Monthly-XXX-1846|Monthly-XXX-1848|Monthly-XXX-1850|Monthly-XXX-1852|Monthly-XXX-1854|Monthly-XXX-1856|Monthly-XXX-1858|Monthly-XXX-1860|Monthly-XXX-1862|Monthly-XXX-1864|Monthly-XXX-1866|Monthly-XXX-1868|Monthly-XXX
-1870|Monthly-XXX-1872|Monthly-XXX-1874|Monthly-XXX-1876|Monthly-XXX-1878|Monthly-XXX-1880|Monthly-XXX-1882

JobID: 1933
Volume name(s): Daily-XXX-1257|Daily-XXX-1261|Daily-XXX-1263|Daily-XXX-1265|Daily-XXX-1267|Daily-XXX-1269|Daily-XXX-1273|Daily-XXX-1275|Daily-XXX-1277|Daily-XXX-1279|Daily-XXX-1281|Daily-XXX-1283|Daily-XXX-1285|Daily-XXX-1287

JobID: 1949
Volume name(s): Daily-XXX-1287

JobID: 1965
Volume name(s): Daily-XXX-1289

Anybody see the problem or configuration error?

Thanks very much!
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
g***@armazemdc.com.br
2018-08-13 17:34:26 UTC
Permalink
Post by g***@armazemdc.com.br
Why Bareos don't create directory structure?
Retantion problem? I don't understand why?
"You have selected the following JobIds: 1927,1933,1949,1965
Building directory tree for JobId(s) 1927,1933,1949,1965 ...
For one or more of the JobIds selected, no files were found,
so file selection is not possible.
Most likely your retention policy pruned the files.
Do you want to restore all the files? (yes|no): "
### list jobs (resumed)
| 1,927 | Fs01-XXX | fs01.XXX | 2018-08-06 19:17:18 | B | F | 1,237,753 | 391,738,616,475 | T |
| 1,933 | Fs01-XXX | fs01.XXX | 2018-08-07 09:02:22 | B | I | 22,732 | 491,118,862 | W |
| 1,949 | Fs01-XXX | fs01.XXX | 2018-08-08 05:00:01 | B | I | 23,246 | 525,496,536 | W |
| 1,965 | Fs01-XXX | fs01.XXX | 2018-08-09 05:00:01 | B | I | 23,238 | 551,103,160 | T |
### pools configuration
Pool {
Name = Yearly-XXX
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 60 months
Maximum Volume Bytes = 25G
Label Format = "Yearly-XXX-"
Action On Purge = Truncate
Storage = StgXXX01
Catalog = XXX
}
Pool {
Name = Daily-XXX
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 10 days
Maximum Volume Bytes = 10G
Label Format = "Daily-XXX-"
Action On Purge = Truncate
Storage = StgXXX01
Catalog = XXX
}
Pool {
Name = Monthly-XXX
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 365 days
Maximum Volume Bytes = 25G
Label Format = "Mouthly-XXX-"
Action On Purge = Truncate
Storage = StgXXX01
Catalog = XXX
}
Pool {
Name = Weekly-XXX
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 30 days
Maximum Volume Bytes = 10G
Label Format = "Weekly-XXX-"
Action On Purge = Truncate
Storage = StgXXX01
Catalog = XXX
}
### Volumes per JobId
JobID: 1927
Volume name(s): Monthly-XXX-1842|Monthly-XXX-1822|Monthly-XXX-1824|Monthly-XXX-1826|Monthly-XXX-1828|Monthly-XXX-1830|Monthly-XXX-1832|Mensal-Dal
coquio-1834|Monthly-XXX-1836|Monthly-XXX-1838|Monthly-XXX-1840|Monthly-XXX-1844|Monthly-XXX-1846|Monthly-XXX-1848|Monthly-XXX-1850|Monthly-XXX-1852|Monthly-XXX-1854|Monthly-XXX-1856|Monthly-XXX-1858|Monthly-XXX-1860|Monthly-XXX-1862|Monthly-XXX-1864|Monthly-XXX-1866|Monthly-XXX-1868|Monthly-XXX
-1870|Monthly-XXX-1872|Monthly-XXX-1874|Monthly-XXX-1876|Monthly-XXX-1878|Monthly-XXX-1880|Monthly-XXX-1882
JobID: 1933
Volume name(s): Daily-XXX-1257|Daily-XXX-1261|Daily-XXX-1263|Daily-XXX-1265|Daily-XXX-1267|Daily-XXX-1269|Daily-XXX-1273|Daily-XXX-1275|Daily-XXX-1277|Daily-XXX-1279|Daily-XXX-1281|Daily-XXX-1283|Daily-XXX-1285|Daily-XXX-1287
JobID: 1949
Volume name(s): Daily-XXX-1287
JobID: 1965
Volume name(s): Daily-XXX-1289
Anybody see the problem or configuration error?
Thanks very much!
Problem solved!

Resolution:
Size of tmpdir (MariaDB) for creation of temp table.
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...