~lenzgr/mylvmbackup/prefix-suffix-removal

« back to all changes in this revision

Viewing changes to man/mylvmbackup.pod

  • Committer: Lenz Grimmer
  • Date: 2010-01-19 01:00:45 UTC
  • Revision ID: lenz@grimmer.com-20100119010045-49858ua0mbk2244i
 - Step one of the prefix/suffix removal: remove the suffix

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
using the I<tar> program. By default, the archive file is created using a name
20
20
of the form I<backup-YYYYMMDD_hhmmss_mysql.tar.gz>, where I<YYYY>, I<MM>, I<DD>,
21
21
I<hh>, I<mm>, and I<ss> represent the year, month, day, hour, minute, and second
22
 
of the time at which the backup occurred. The default prefix I<backup>, date
23
 
format and file suffix may be modified. The use of timestamped archive names
24
 
allows you to run mylvmbackup many times without danger of overwriting old
25
 
archives.
 
22
of the time at which the backup occurred. The default file name and the date
 
23
format may be modified. The use of timestamped archive names allows you to run
 
24
mylvmbackup many times without danger of overwriting old archives. Omitting the
 
25
date format allows you to always update a single copy of your backup data.
26
26
 
27
27
Alternatively, instead of I<tar>, you may use I<rsync>. The rsync backup can
28
28
perform both local backups as well as backing up to a remote server using rsyncd
328
328
the name of the directory used to mount the snapshot volume.
329
329
The default value is I<backup>.
330
330
 
331
 
=item B<--suffix=string>
332
 
 
333
 
Suffix added to the backup file names (after the time stamp).
334
 
The default value is I<_mysql>.
335
 
 
336
331
=item B<--datefmt=string>
337
332
 
338
 
Format of the time stamp included in the backup file name. See
339
 
the I<Date::Format> perldoc page for a description of the format.
340
 
The default value is I<%Y%m%d_%H%M%S>, which creates a time stamp
341
 
like I<YYYYMMDD_HHMMSS>, e.g. I<20070531_112549>
342
 
Can be empty as well, to suppress adding a time stamp (e.g. when
343
 
using rsync to always sync into the same backup directory).
 
333
Name of the backup file. It can include date formatting strings so the file
 
334
name contains a time stamp. See the I<Date::Format> perldoc page for a
 
335
description of the format.
 
336
 
 
337
The default value is I<%Y%m%d_%H%M%S_mysql>, which creates a file name like
 
338
I<YYYYMMDD_HHMMSS_mysql>, e.g. I<20070531_112549_mysql> You can omit the date
 
339
formatting strings to suppress adding a time stamp (e.g. when using rsync to
 
340
always sync into the same backup directory).
344
341
 
345
342
=item B<--mountdir=string>
346
343