Class | Backup::Archive |
In: |
lib/backup/archive.rb
|
Parent: | Object |
excludes | [RW] | Stores an array of different paths/files to exclude |
name | [RW] | Stores the name of the archive |
paths | [RW] | Stores an array of different paths/files to store |
tar_args | [RW] | String of additional arguments for the `tar` command |
Archives all the provided paths in to a single .tar file and places that .tar file in the folder which later will be packaged If the model is configured with a Compressor, the tar command output will be piped through the Compressor command and the file extension will be adjusted to indicate the type of compression used.