Browse Source

Cleanup

master
Hristos N. Triantafillou 11 months ago
parent
commit
0df563d92d
Signed by: hristoast GPG Key ID: 5FC7664AD47AA1C5
  1. 8
      backup.sh

8
backup.sh

@ -23,20 +23,12 @@ recordstore_path=${corescripts_path}/data/recordstore
world_path=${corescripts_path}/data/world
real_estate_db=${corescripts_path}/data/custom/RealEstate/RealEstateOwned.json
mkdir -p ${backup_data_dir}/RealEstate ${backup_player_dir} ${backup_world_dir}
rsync -aq ${real_estate_db} ${backup_data_dir}/RealEstate/
rsync -aq ${corescripts_path}/data/custom/__config_*.json ${backup_data_dir}/
rsync -aq ${corescripts_path}/data/custom/__data_*.json ${backup_data_dir}/
rsync -aq ${corescripts_path}/data/custom/factionlist.json ${backup_data_dir}/
rsync -aq ${corescripts_path}/data/custom/ladder_*.json ${backup_data_dir}/
test -d ${map_path} && rsync -aq ${map_path} ${backup_data_base_dir}/
test -f ${player_path}/*.json && rsync -aq ${player_path}/*.json ${backup_player_dir}/
test -d ${recordstore_path} && rsync -aq ${recordstore_path} ${backup_data_base_dir}/

Loading…
Cancel
Save