#1 Added by Shinigamiphobos(arispotle) 1 decade ago Report | Quote
#2 Added by Nonea 1 decade ago Report | Quote
#!/bin/bash# Ryzom likes to find the default config in the directory it's run from.cd /opt/ryzom# If the client crashes or is shut down without a chance to save, you lose# some settings.date=$(date +"%Y%m%d %H-%M")echo "Will be backing up to $PWD/$date"mkdir -p "backup/$date"cp save/*.icfg save/*.xml save/*.pack save/log_*.txt "backup/$date"cd backuptar -cjf "$date".tbz2 "$date" && rm -r "$date"cd .../ryzom_client
Last edited by None (1 decade ago)
powered by ryzom-api