
v0.39: Grademe is back in your terminal.
Try the CLI betaReturn whether a path is safe to wipe: it must sit inside the backup root, not out in production.
January 31, 2017. A tired GitLab engineer fighting a spam wave at 11pm runs a delete to clear a broken database directory, then watches in horror as it chews through the primary instead of the empty secondary. 300 GB of live production data gone in seconds, and five separate backup methods turn out to be broken. The guard that would have saved them: only ever delete inside the backup root, nowhere else.
under_backup_root("/var/opt/backup/db-2017")Expected result
1For your own tracking. Tests grade your code.
under_backup_root("/var/opt/gitlab/data")Expected result
0under_backup_root("/var/opt/backup/")Expected result
0Expected files
backup.cAllowed functions
None. Write every helper yourself.
