SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Tutorials

Reply
 
Thread Tools Display Modes
Old 09/05/2016, 07:15 AM   #1
Kyle
High-roller
 
Join Date: Mar 2009
Location: United Kingdom
Posts: 2,258
Reputation: 330
Default SA-MP Backup - Fed up of losing your PWN file?

SA-MP Backup Tutorial

Are you fed up of losing your PWN file? Or are you looking for an older copy? This is the tutorial for you!

In this little instructional thread I will be going over how you can create automatic SA-MP backups for your precious server project. Before we go anywhere currently the settings below override every week, you can enable it so that there are new folders per backup in the settings.

Firstly we will be using a program called 'Karen's Replicator', you can download it from here:

http://www.majorgeeks.com/files/deta...eplicator.html

Once installed and open, click 'edit settings'.



Then click 'New Job'



In the box where it says 'source' this is where your SA-MP Scripting directory is, browse and locate the folder.

For the destination box I advise that you create a folder elsewhere on another HDD or to your Dropbox directory,
Like I have below:



To edit how often it backs up, click 'edit schedule'. The image below is my schedule, it executes every Saturday at 19:00 Weekly.



Click 'Save Job' and you're good to go! To make sure the replicator opens when you login open the replicator and click other settings and copy the settings which I have. This will make sure it opens on logon.



Thanks,

Kyle Smith
__________________
Kyle is offline   Reply With Quote
Old 09/05/2016, 08:07 AM   #2
Lorenc_
High-roller
 
Lorenc_'s Avatar
 
Join Date: Jan 2010
Location: Australia
Posts: 3,793
Reputation: 1179
Default Re: SA-MP Backup - Fed up of losing your PWN file?

Nice tut.

People can also use Git to back up their gamemode, has more advantages to it as well
__________________
Join the best Cops And Robbers in SA-MP, today. svr.sfcnr.com:7777

Lorenc_ is offline   Reply With Quote
Old 09/05/2016, 11:45 AM   #3
Ritzy2K
High-roller
 
Ritzy2K's Avatar
 
Join Date: Jun 2014
Location: India
Posts: 1,547
Reputation: 170
Default Re: SA-MP Backup - Fed up of losing your PWN file?

Damn, thanks but i little too late for me, i guess
__________________
Ritzy2K is offline   Reply With Quote
Old 09/05/2016, 05:58 PM   #4
thesuperuser
Banned
 
Join Date: May 2016
Posts: 31
Reputation: 5
Default Re: SA-MP Backup - Fed up of losing your PWN file?

Good tutorial,nice work!
thesuperuser is offline   Reply With Quote
Old 10/05/2016, 02:47 PM   #5
Crayder
Banned
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,324
Reputation: 652
Default Re: SA-MP Backup - Fed up of losing your PWN file?

Git is so much easier.... but still a great tut.
Crayder is offline   Reply With Quote
Old 10/05/2016, 05:21 PM   #6
Radio
Little Clucker
 
Join Date: May 2016
Posts: 31
Reputation: 7
Default Re: SA-MP Backup - Fed up of losing your PWN file?

Great tutorial, repped!
Radio is offline   Reply With Quote
Old 10/05/2016, 06:04 PM   #7
Kyle
High-roller
 
Join Date: Mar 2009
Location: United Kingdom
Posts: 2,258
Reputation: 330
Default Re: SA-MP Backup - Fed up of losing your PWN file?

Quote:
Originally Posted by Lorenc_ View Post
Nice tut.

People can also use Git to back up their gamemode, has more advantages to it as well
Quote:
Originally Posted by Crayder View Post
Git is so much easier.... but still a great tut.
And what happens if GitHub is down or your internet is down?
__________________
Kyle is offline   Reply With Quote
Old 10/05/2016, 06:21 PM   #8
Crayder
Banned
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,324
Reputation: 652
Default Re: SA-MP Backup - Fed up of losing your PWN file?

Quote:
Originally Posted by KyleSmith View Post
And what happens if GitHub is down or your internet is down?
Neither of us said GitHub. Git is it's own thing. GitHub is just a web client for Git. There are a lot of git clients, the main one just being the official git bash. I, for example, use SmartGit, which can even be used to control GitHub and other git clients' repositories.
Crayder is offline   Reply With Quote
Old 10/05/2016, 07:12 PM   #9
Untonyst
Big Clucker
 
Untonyst's Avatar
 
Join Date: Dec 2015
Posts: 65
Reputation: 9
Default Re: SA-MP Backup - Fed up of losing your PWN file?

Quote:
Originally Posted by KyleSmith View Post
And what happens if GitHub is down or your internet is down?
You can synchronize your repository, then on your computer will make a backup of your project.
__________________

GitHub account.
Untonyst is offline   Reply With Quote
Old 10/05/2016, 07:21 PM   #10
Sew_Sumi
Banned
 
Join Date: Jun 2008
Location: Azerbaijan
Posts: 6,244
Reputation: 525
Default Re: SA-MP Backup - Fed up of losing your PWN file?

I like SourceTree even though it's REAL resource intensive as a SVN/GIT client. It's just more visual and all that. With GIT as well, you can make changes, and seemingly commit them and push them when you do have the internet back.


This thread is however good for heaps of things, other than source files. Could use it for all aspects of documents/links/downloads and all that.
Sew_Sumi is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[HELP] [REP+] How i can show backup location when using /backup HydraHumza Scripting Help 4 30/03/2015 11:08 AM
/backup bug CountryTrooper441 Scripting Help 2 01/02/2014 10:47 PM
Backup? Fj0rtizFredde Everything and Nothing 4 05/07/2010 07:29 PM
[BACKUP] Backup of all vehicles from GTA San Andreas wylly Everything and Nothing 4 02/04/2010 03:21 PM
/backup for pd and fbi buonggiorno Help Archive 3 26/11/2009 08:31 PM


All times are GMT. The time now is 08:30 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.