AutoBackup documentation page
Note:By default AutoBackup is disabled!
AutoBackup backups your worlds folders, by default backups are located at the folder {your server folder}/backups/.
backups of worlds are stored in the folder {backupfolder}/worlds , using WorldEdit snapshot folder structure
backups of plugins are stored in the folder {backupfolder}/plugins
Command
/asw backup (performs a backup manually)
Permission: autosaveworld.backup
Config values: (config.yml)
backup: enabled: false #enable or disable autobackup interval: 21600 #interval in seconds between autobackups savebefore: true #forces save before doing backup broadcast: true #broadcast message before and after the backup rateLimit: -1 #limits the read rate (kb/s, -1 for unlimited) localfs: enabled: true #enable backup to local filesystem worlds: #list of worlds to backup, '*' - backup all worlds - '*' MaxNumberOfWorldsBackups: 30 #maximum number of worlds backups, after reaching this limit, plugin will delete the oldest one and then create a new. pluginsfolder: false #backups plugins folder MaxNumberOfPluginsBackups: 30 #maximum number of plugins backups, after reaching this limit, plugin will delete the oldest one and then create a new. excludefolders: [] #list of paths to folders excluded from backup destinationfolders: [] #list of destinationfolders folders to backup to zip: false #zip backuped folders. ftp: enabled: false #enable backup to ftp sftp: true #uses sftp backup hostname: 127.0.0.1 #ftp server hostname port: 21 #ftp server port login: user #ftp server username/login password: password #ftp server password path: asw #path at ftp server at which backups will be stored zip: false #zip bakuped folders worlds: #list of worlds to backup, '*' - backup all worlds - '*' pluginsfolder: false #backup plugins folder otherfolders: [] #list of other folders to backup excludefolders: [] #list of paths to folders excluded from backup maxNumberOfBackups: 2 #maximum number of backups, after reaching this limit, plugin will delete the oldest one and then create a new. script: enabled: true #enable script backup scriptpaths: [] '' #paths to the scripts to execute dropbox: enabled: false #enable backup to dropbox token: #your own app token(get one by creating your own app with full access at https://www.dropbox.com/developers/apps) path: asw #path at dropbox at which backups will be stored worlds: #list of worlds to backup, '*' - backup all worlds - '*' pluginsfolder: false #backup plugins folder otherfolders: [] #list of other folders to backup excludefolders: [] #list of paths to folders excluded from backup maxNumberOfBackups: 2 #maximum number of backups, after reaching this limit, plugin will delete the oldest one and then create a new. zip: true #zip bakuped folders
excludefolders example:
excludefolders: - 'plugins/Essentials' - 'plugins/dynmap/web/tiles' - 'plugins/A*' #wildcard, will ignore any folders which are in plugin folder and which names starts with A
destinationfolders example:
destinationfolders: - 'D:/test' - '/home/serv/test'
@cg49me
Link? i am also having trouble with the backuping of worlds. at the moment my " destinationfolders: " keeps resetting the path i choose.
Is it possible to somehow backup only the 2000-radius region of spawn? I have a 5gb map, but mostly repair chunks with WE's snapshot near the spawn, and I would like an automated solution, since WE has no active backup options, but my hosting provider wont let me store a zetabyte of archives on the active drive. :/
I was wondering if anyone could help me with my config file. I am having a problems with it not saving to a given path. Here is my file: http://pastebin.com/Z9Edc50r
It will only save to a folder inside of the server folder(or maybe anywhere on that SSD). The problem is I wanted to save to another drive since my SSD space is limited but my other HDD is 1TB. The backup to FTP works but again doesn't go to the specified path (which isn't a huge deal since nothing else is on that machine). The machine is a dedicated server that I own and I am using multicraft to manage servers(I am the only one with access).
Any help would be greatly appreciated and I am willing to donate to the project if all works well :)
Just wanted to say my issue is solved it was an issue with permissions nothing was wrong with the config.
Hi
Just started using this plugin for the backup feature mainly. And for some reason the 'worlds' option is set to '*' but the only backups I am getting are 'world_the_end' and not the other 2 (world and world_nether).
Here is the backup/localfs settings.
And also when changing 'zip' to false it still zips the backup.
Would love some help with this, this plugin would be so good if I could get the correct backups!
@DrFizzles
So I was able to get it to backup the 'world' and 'world_nether' folders by adding them to the 'otherfolders' option. And to get the config changes to stick I just have to stop my server before changing the file (usually I would change the file and restart the server.)
Still would like to know why just putting '*' in worlds doesn't backup everything as it should.
@DrFizzles
Your worlds probably wasn't loaded at the time of the backup.
So the config.yml looks quite a bit different now and I was just curious as to if there is a way to backup to external drive. I have another computer on the network that I want to backup to, could I enter the folder's location with the computer name? Or is there some other way?
@StiCory
I'm retarded, I realized why the config looked so much different, I had sections in Notepad minimized haha.
But my question still remains, what would the best way to backup to an external computer be?
@StiCory
I feel retarded commenting over and over again but I figured it out, I just mapped a network drive that I want to backup to, and used that in the config.yml.
Now I only have one other question (perhaps feature request?) Can we have it attempt to backup to one location, and if it fails, backup to another? Or perhaps backup to two places?
Hello. I have some questions about dropbox backup system:
Could you please explain how to obtain the token in detail? How can I know the path for the folder I want the backups to be stored in?
In any case. Mega offers up to 50GB for free. Couldn't support for that be applied?
Hello, I am wondering if it is possible to instead of having backup intervals. backup at specific times of the day? I want to make the server do a backup everyday before the server restart. and sometime in the middle of the day.
With the Backup intervals.. if I have to restart the server manually for some reason, (perhaps to add a plugin) It seems like the counter resets back to zero. Im not quite sure how the time system works for backups. but it would be nice to be able to specify specific times like the auto restart feature. I am using 1.7.10 any chance this can already be done?
@Razorskills
If you need a specific time, that you should use AutoConsoleCommand to schedule /asw backup command
@MasterMithrandir Go to dropbox developers site, create your own app with full access, press generate token. Path is anything, backups will be stored in that folder.
Hello, I am trying to use the backup features to create backups on a windows server, but no matter how I try to set them up, i get errors and the config.yml is reset to default. I'd want to make a backup both on local drive and network drive (Z:\) but using the example
destinationfolders:
- 'D:\Minecraftback'
- 'Z:\'
gives error and resets the config, same if I use
destinationfolders:
- D:\Minecraftback
- Z:\
(Both directories works if they are the single location to place the backup in) And the Otherfolders: [] is the same deal,when using one entry works, but trying to use a list of locations to source resets the config file
Add Google Drive please
Hi, Hey update the information of the backups, this information is old, PS: Good plugin, I use it from 1.4
Not sure if this is still being supported? Or if my 1.17 Spigot server is going to work with this. I also noted that the config file would not load as I had wrote it the first time and needed to edit it while the server ran the reload the main configs for it to work, but this was not the issue I am here for...
I got an error showing that there is info locked when I am backing up. Am I missing something in the config that could cause this?
This is the section of my config.yml if needed.
Any incite would help!