mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1938 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1cfdbecfef
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-12-05 (Mon, 05 Dec 2011)
------------------
This commit was generated by Migit
13 lines
246 B
Bash
Executable File
13 lines
246 B
Bash
Executable File
#!/bin/sh
|
|
DATE=`date +%Y-%m-%d-%H:%M:%S`
|
|
BACKUPLIST=/bin/backup.list
|
|
|
|
echo Backup to $1/settings_$DATE.tar
|
|
cd /
|
|
|
|
if [ ! -e $BACKUPLIST ]; then
|
|
tar cf $1/settings_$DATE.tar /var/tuxbox/config/
|
|
else
|
|
tar cf $1/settings_$DATE.tar -T $BACKUPLIST
|
|
fi
|