Hi guys I use centOS 64bit 5.7 and I need to create a backup script
What I want it to do:
- screen -r example
- command into java
- pause for x amount of seconds
- exit screen
- zip/rar a folder which and put a timestamp on the name (with date) and move it to a different location
- pause for duration of the zipping? If not a predetermined time.
- screen -S example java -Xmx3g -Xincgc -jar server.jar nogui
Any ideas?