Rechercher une page de manuel

Chercher une autre page de manuel:

storeBackupDel

Autres langues

Langue: en

Autres versions - même langue

Version: 313127 (ubuntu - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

storeBackupDel - delete backups created by storeBackup

SYNOPSIS

storeBackupDel -f configFile

or

storeBackupDel -t targetDir

[--doNotDelete] [-L lockFile]
[--keepAll timePeriod] [--keepWeekday entry]
[--keepFirstOfYear] [--keepLastOfYear]
[--keepFirstOfMonth] [--keepLastOfMonth]
[--keepFirstOfWeek] [--keepLastOfWeek]
[--keepDuplicate] [--keepMinNumber] [--keepMaxNumber]
[-l logFile

[--plusLogStdout] [--withTime yes|no] [-m maxFilelen]
[[-n noOfOldFiles] | [--saveLogs yes|no]
[--compressWith compressprog]]]

DESCRIPTION

This program deletes backups created by storeBackup.

!!! USAGE IN PARALLEL WITH storeBackup CAN DESTROY YOUR BACKUPS !!!

OPTIONS

--file, -f
configuration file (instead of parameters)
--targetDir, -t
directory in which the backup date directory exists

same parameter as in storeBackup

--doNotDelete
test only, do not delete any backup
--lockFile, -L
lock file, if exist, new instances will finish if an old is already running

If set to the same file as in storeBackup it will prevent storeBackupDel from running in parallel to storeBackup

--keepAll
keep backups which are not older than the specified amount of time. This is like a default value for all days in --keepWeekday. Begins deleting at the end of the script

the time range has to be specified in format 'dhms',

e.g. 10d4h means 10 days and 4 hours

if you also use the 'archive flag' it means to not delete the affected directories via --keepMaxNumber:

a10d4h means 10 days and 4 hours and 'archive flag'

default = 30d;

--keepWeekday
keep backups for the specified days for the specified amount of time. Overwrites the default values choosen in --keepAll.

'Mon,Wed:40d Sat:60d10m' means:


keep backups of Mon and Wed 40days + 5mins
keep backups of Sat 60days + 10mins
keep backups of the rest of the days like specified in --keepAll (default 30d)

you can also set the 'archive flag'.

'Mon,Wed:a40d Sat:60d10m' means:


keep backups of Mon and Wed 40days + 5mins + 'archive'
keep backups of Sat 60days + 10mins
keep backups of the rest of the days like specified in --keepAll (default 30d)
--keepFirstOfYear
do not delete the first backup of a year

format is timePeriod with possible 'archive flag'

--keepLastOfYear
do not delete the last backup of a year

format is timePeriod with possible 'archive flag'

--keepFirstOfMonth

do not delete the first backup of a month

format is timePeriod with possible 'archive flag'

--keepLastOfMonth
do not delete the last backup of a month

format is timePeriod with possible 'archive flag'

--firstDayOfWeek
default: 'Sun'. This value is used for calculating --keepFirstOfWeek and --keepLastOfWeek
--keepFirstOfWeek
do not delete the first backup of a week

format is timePeriod with possible 'archive flag'

--keepLastOfWeek
do not delete the last backup of a week

format is timePeriod with possible 'archive flag'

--keepDuplicate
keep multiple backups of one day up to timePeriod

format is timePeriod, 'archive flag' is not possible

default = 7d;

--keepMinNumber
Keep that miminum of backups. Multiple backups of one day are counted as one backup.
--keepMaxNumber
Try to keep only that maximum of backups. If you have more backups, the following sequence of deleting will happen:

- delete all duplicates of a day, beginning with the old once, except the oldest of every day

- if this is not enough, delete the rest of the backups beginning with the oldest, but *never* a backup with the 'archive flag' or the last backup

--logFile, -l
log file (default is STDOUT)
--plusLogStdout
if you specify a log file with --logFile you can additionally print the output to STDOUT with this flag
--withTime, -w
output in logfile with time: 'yes' or 'no'

default = 'yes'

--maxFilelen, -m
maximal length of file, default = 1e6
--noOfOldFiles, -n
number of old log files, default = 5
--saveLogs
save log files with date and time instead of deleting the old (with --noOldFiles): 'yes' or 'no', default = 'no'
--compressWith
compress saved log files (e.g. with gzip -9)

default is bzip2

SEE ALSO

storeBackup(1), storeBackupConvertBackup(1), storeBackupls(1), storeBackupMount(1), storeBackupRecover(1), storeBackupVersions(1)

<http://sourceforge.net/projects/storebackup>

AUTHOR

storeBackupDel was written by Heinz-Josef Claes.

This manual page was written by Holger Hartmann <Holger_Hartmann@gmx.de> for the Debian Project (but may be used by others).

Seule une page blanche pourrait dire tout ce qui ne se raconte pas,
ne se peint pas, ne se retient pas.
-+- Jacques-Henri Lartigue -+-