Skip to content
Snippets Groups Projects
Commit 258617fd authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

How to Backup the server data - for future reference

parent 154ce44b
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
cd
cp /etc/environment .
cp /var/lib/coreos-install/user_data .
tar cvzf /home/core/root-k4.tgz --exclude ./.cache/* .
chown core:core /home/core/root-k4.tgz
echo 'scp core@k4:root-k4.tgz .'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment