Sha256: e44e427c87eb4a4849a0ed4a180f6467fb782aeddea5bf06884527a8bac3a0b2
Contents?: true
Size: 907 Bytes
Versions: 4
Compression:
Stored size: 907 Bytes
Contents
Backup::Model.new(:<%= application %>, '<%= application %> backup') do ## # Split [Splitter] # # Split the backup file in to chunks of 250 megabytes # if the backup file size exceeds 250 megabytes # split_into_chunks_of 500 ## # PostgreSQL [Database] # database PostgreSQL do |db| # To dump all databases, set `db.name = :all` (or leave blank) db.name = "<%= postgresql_database %>" db.username = "<%= postgresql_user %>" db.password = "<%= postgresql_password %>" db.host = "<%= postgresql_host %>" db.port = "<%= postgresql_port %>" end ## # Local (Copy) [Storage] # store_with Local do |local| local.path = "~/backups/" local.keep = 5 end ## # Gzip [Compressor] # compress_with Gzip end
Version data entries
4 entries across 4 versions & 1 rubygems