Changeset 89

Show
Ignore:
Timestamp:
03/09/10 21:55:54 (4 years ago)
Author:
depesz
Message:

change % to = in compression specification to avoid problems with postgresql expansion in restore or archive commands - changed in other scripts to keep it the same

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/omnipitr/doc/omnipitr-archive.pod

    r87 r89  
    158158 
    159159Every destination can have specified compression. To use it you should prefix 
    160 destination path/url with compression type followed by '%' sign. 
     160destination path/url with compression type followed by '=' sign. 
    161161 
    162162Allowed compression types: 
     
    222222=head3 2 remote, compressed destinations, 1 local, with auto rotated logfile: 
    223223 
    224     archive_command='/.../omnipitr-archive -D /mnt/data/ -l /var/log/omnipitr/archive-%Y-%m-%d.log -dr gzip%rsync://slave/postgres/wal_archive/ -dr bzip2%backups@backupserver:/mnt/backups/wal_archive/ -dl /mnt/wal_archive/ -s /var/lib/postgres/.omnipitr/ "%p"' 
     224    archive_command='/.../omnipitr-archive -D /mnt/data/ -l /var/log/omnipitr/archive-%Y-%m-%d.log -dr gzip=rsync://slave/postgres/wal_archive/ -dr bzip2=backups@backupserver:/mnt/backups/wal_archive/ -dl /mnt/wal_archive/ -s /var/lib/postgres/.omnipitr/ "%p"' 
    225225 
    226226=head2 COPYRIGHT 
  • trunk/omnipitr/doc/omnipitr-master-backup.pod

    r63 r89  
    152152 
    153153Every destination can have specified compression. To use it you should prefix 
    154 destination path/url with compression type followed by '%' sign. 
     154destination path/url with compression type followed by '=' sign. 
    155155 
    156156Allowed compression types: 
     
    250250=head3 Minimal setup, with compression, and copying file to remote directory over rsync: 
    251251 
    252     /.../omnipitr-master-backup -D /mnt/data/ -l /var/log/omnipitr/backup.log -dr bzip2%rsync://slave/postgres/backups/ 
     252    /.../omnipitr-master-backup -D /mnt/data/ -l /var/log/omnipitr/backup.log -dr bzip2=rsync://slave/postgres/backups/ 
    253253 
    254254=head3 2 remote, compressed destinations, 1 local, with auto rotated logfile, 
    255255and modified filenames 
    256256 
    257     /.../omnipitr-master-backup -D /mnt/data/ -l /var/log/omnipitr/backup-%Y-%m-%d.log -dr bzip2%rsync://slave/postgres/backups/ -dr gzip%backups:/mnt/hotbackups/ -dl /mnt/backups/ -f "main-__FILETYPE__-%Y%m%d_%H%M%S.tar__CEXT__" 
     257    /.../omnipitr-master-backup -D /mnt/data/ -l /var/log/omnipitr/backup-%Y-%m-%d.log -dr bzip2=rsync://slave/postgres/backups/ -dr gzip=backups:/mnt/hotbackups/ -dl /mnt/backups/ -f "main-__FILETYPE__-%Y%m%d_%H%M%S.tar__CEXT__" 
    258258 
    259259=head2 COPYRIGHT 
  • trunk/omnipitr/doc/omnipitr-restore.pod

    r88 r89  
    138138 
    139139If the wal segments are compressed you have to prefix source path with 
    140 compression type followed by '%' sign. 
     140compression type followed by '=' sign. 
    141141 
    142142Allowed compression types: 
     
    280280=head3 Minimal setup, but with backing up segments to remote server: 
    281281 
    282     restore_command='/.../omnipitr-restore -l /var/log/omnipitr/restore.log -s /mnt/wal_restore/ -h "/.../omnipitr-archive -l /var/log/omnipitr/archive.log -dr bzip2%rsync://backup/postgres/xlogs/" %f %p' 
     282    restore_command='/.../omnipitr-restore -l /var/log/omnipitr/restore.log -s /mnt/wal_restore/ -h "/.../omnipitr-archive -l /var/log/omnipitr/archive.log -dr bzip2=rsync://backup/postgres/xlogs/" %f %p' 
    283283 
    284284=head2 COPYRIGHT 
  • trunk/omnipitr/doc/omnipitr-slave-backup.pod

    r62 r89  
    134134 
    135135Every destination can have specified compression. To use it you should prefix 
    136 destination path/url with compression type followed by '%' sign. 
     136destination path/url with compression type followed by '=' sign. 
    137137 
    138138Allowed compression types: 
     
    229229=head3 Minimal setup, with compression, and copying file to remote directory over rsync: 
    230230 
    231     /.../omnipitr-slave-backup -D /mnt/data/ -l /var/log/omnipitr/backup.log -dr bzip2%rsync://slave/postgres/backups/ 
     231    /.../omnipitr-slave-backup -D /mnt/data/ -l /var/log/omnipitr/backup.log -dr bzip2=rsync://slave/postgres/backups/ 
    232232 
    233233=head3 2 remote, compressed destinations, 1 local, with auto rotated logfile, 
    234234and modified filenames 
    235235 
    236     /.../omnipitr-slave-backup -D /mnt/data/ -l /var/log/omnipitr/backup-%Y-%m-%d.log -dr bzip2%rsync://slave/postgres/backups/ -dr gzip%backups:/mnt/hotbackups/ -dl /mnt/backups/ -f "main-__FILETYPE__-%Y%m%d_%H%M%S.tar__CEXT__" 
     236    /.../omnipitr-slave-backup -D /mnt/data/ -l /var/log/omnipitr/backup-%Y-%m-%d.log -dr bzip2=rsync://slave/postgres/backups/ -dr gzip=backups:/mnt/hotbackups/ -dl /mnt/backups/ -f "main-__FILETYPE__-%Y%m%d_%H%M%S.tar__CEXT__" 
    237237 
    238238=head2 COPYRIGHT