A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/orgrim/pg_back/commit/35813a8e34ba2359dc7938e762d4744e5820fe5e below:

wrap some long lines in usage · orgrim/pg_back@35813a8 · GitHub

@@ -220,14 +220,14 @@ func parseCli(args []string) (options, []string, error) {

220 220

pflag.StringSliceVarP(&opts.ExcludeDbs, "exclude-dbs", "D", []string{}, "list of databases to exclude")

221 221

pflag.BoolVarP(&opts.WithTemplates, "with-templates", "t", false, "include templates")

222 222

WithoutTemplates := pflag.Bool("without-templates", false, "force exclude templates")

223 -

pflag.IntVarP(&opts.PauseTimeout, "pause-timeout", "T", 3600, "abort if replication cannot be paused after this number of seconds")

223 +

pflag.IntVarP(&opts.PauseTimeout, "pause-timeout", "T", 3600, "abort if replication cannot be paused after this number\nof seconds")

224 224

pflag.IntVarP(&opts.Jobs, "jobs", "j", 1, "dump this many databases concurrently")

225 225

pflag.StringVarP(&format, "format", "F", "custom", "database dump format: plain, custom, tar or directory")

226 226

pflag.IntVarP(&opts.DirJobs, "parallel-backup-jobs", "J", 1, "number of parallel jobs to dumps when using directory format")

227 227

pflag.IntVarP(&opts.CompressLevel, "compress", "Z", -1, "compression level for compressed formats")

228 228

pflag.StringVarP(&opts.SumAlgo, "checksum-algo", "S", "none", "signature algorithm: none sha1 sha224 sha256 sha384 sha512")

229 229

pflag.StringVarP(&purgeInterval, "purge-older-than", "P", "30", "purge backups older than this duration in days\nuse an interval with units \"s\" (seconds), \"m\" (minutes) or \"h\" (hours)\nfor less than a day.")

230 -

pflag.StringVarP(&purgeKeep, "purge-min-keep", "K", "0", "minimum number of dumps to keep when purging or 'all' to keep everything\n")

230 +

pflag.StringVarP(&purgeKeep, "purge-min-keep", "K", "0", "minimum number of dumps to keep when purging or 'all' to keep\neverything")

231 231

pflag.StringVar(&opts.PreHook, "pre-backup-hook", "", "command to run before taking dumps")

232 232

pflag.StringVar(&opts.PostHook, "post-backup-hook", "", "command to run after taking dumps\n")

233 233

@@ -239,7 +239,7 @@ func parseCli(args []string) (options, []string, error) {

239 239

pflag.StringVar(&opts.CipherPassphrase, "cipher-pass", "", "cipher passphrase for encryption and decryption\n")

240 240 241 241

pflag.StringVar(&opts.Upload, "upload", "none", "upload produced files to target (s3, gcs,..) use \"none\" to override\nconfiguration file and disable upload")

242 -

purgeRemote := pflag.String("purge-remote", "no", "purge the file on remote location after upload, with the same rules as the local directory")

242 +

purgeRemote := pflag.String("purge-remote", "no", "purge the file on remote location after upload, with the same rules\nas the local directory")

243 243 244 244

pflag.StringVar(&opts.S3Region, "s3-region", "", "S3 region")

245 245

pflag.StringVar(&opts.S3Bucket, "s3-bucket", "", "S3 bucket")


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4