Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Backup Batch File


derrick1123
 Share

Recommended Posts

I remember someone else making a file and they wanted other people to download to use it…well I will give you the source code.

```
@echo off
echo **********************************
echo **
echo ** This script was made by
echo **      derrick1123
echo **
echo ** You may edit anything below but
echo **      keep this here...
echo **        * - For Eclipse only
echo **      2008
echo **********************************
REM This will copy files...
echo The files are now going to copy...
REM This makes the directory
PAUSE
MKDIR C:\backup\server
REM ^edit were u need it
PAUSE
xcopy /e /v /y C:\server C:\backup\server
echo Done!
PAUSE
REM Script done, now exit
exit

```
Need some help? Ask me I don't mind…
Link to comment
Share on other sites

@ZeroGhost:

> if your server is on a windows machine you can prob. run it every 30 mins with taskscheduler/task manager, if your server is on linux then the script wont work lol
> or you can just get a backup program, there are loads of them (free ones)

Eclipse doesn't support linux

PS: Where do these 1-posters come from? It's like, they come out of nowhere, sign up, and post once in a random topic. I hope he introduces himself xD
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...