mirror of
https://github.com/php/systems.git
synced 2026-03-23 23:32:12 +01:00
Right now we're getting this in `php-cron-box.log` on every run: ``` tar: Removing leading `/' from member names ``` This does change the format of the backups to not include `local/` in the file path, but there's nothing automated that uses these backups.
8 lines
166 B
Bash
Executable File
8 lines
166 B
Bash
Executable File
#!/bin/sh
|
|
# $Id$
|
|
|
|
# Backup the "this-box" state; tokens, keys etc.
|
|
cd /local
|
|
mkdir -p backups
|
|
tar cf - this-box | bzip2 -9 > backups/thisbox-`hostname`-$date.tar.bz2
|