View Single Post
  #1 (permalink)  
Old 03-03-2008, 04:05 AM
soulskater soulskater is offline
Active Member
 
Posts: 32
Default Simple backup script for OSE version

I have made some overhaulin of my script and added file transfer functions, read below. The script can be downloaded <Here> for convenience.

If any errors are found in the script post here and i will look into it right away.

/Soulskater

Changes as of 2008-03-08:
-------------------------------------
for those of you who have been using this script re-download the code since there has been some bug fixes, non critical but still.

Following bug has been fixed:
When running the msg option it created a extra folder called 0 in backup dir/store which resulted in double 0 folders in backup folder, ex,
backdir/store/0/0 should have been backupdir/store/0.

have been expirence some issues in ubuntu when running the script via crontab, though it is not limited to this script but rather an issue with the packaging with tar option, if you are running this script in crontab add following at the end of each line where you call this script, > /dev/nul 2>&1l ex.
0 23 * * * /opt/scripts/ZimBackup.sh full > /dev/null 2>&1

Changes as of 2008-03-09:
-------------------------------------
- Fixed issues with this script when running from crontab
- added more backup options.

Changes as of 2008-04-18:
-------------------------------------
Script has been updated with new functionality that enables file transfer with ftp & scp protocols.
__________________
Systems Specialist
openSUSE Ambassador in Sweden
Visit my blogs at www.swedcore.net & www.soulskater.net

Last edited by soulskater : 04-18-2008 at 06:51 AM.
Reply With Quote