BackupLikeMe
This plugin will allow you to create a backup of your entire server and upload it to Dropbox.
Installation
- Download the file
- Place it in the plugins folder
- Start the server
- See below for further installation notes
Dropbox
- Open your console
- Run /BackupLikeMe Dropbox
- Go to the link, login, hit the buttons
- Copy the code
- Run /BackupLikeMe Dropbox <code that you got>
- This code needs to be copied from the logs directly! If you copy it from a web console then it will go wrong!
- Have fun with your Dropbox linked backup plugin
The dropboxpath should start with a /
FTP
- Stop the server
- Open the config.yml
- Edit the host, port (if needed), username and password
- Start the server again
- Have fun with your FTP linked backup plugin
Commands
Command | Description | Permission | |
---|---|---|---|
/BackupLikeMe | Won't do anything on its own besides telling you to add arguments | backuplikeme.use | |
/BackupLikeMe Dropbox | Dropbox authentication | only usable from Console | |
/BackupLikeMe start | Start creating a backup, this will run on a different thread so the server isn't that much affected by it. | backuplikeme.use |
Starting a backup will freeze the server for a couple seconds! This is the creation of the zip file.
Todo list
FTP support- Timed backups
- Suggestions?
Can you make it so it works ingame not console?
In reply to buppppppppppp:
And how do you plan to copy ingame?
And I prefer not as it is an admin command than needs to be ran once.
hey! I have a problem here. I get this message whenever I try to go to the link
https://imgur.com/a/ndi7rBp
In reply to buppppppppppp:
Are you using some sort of web console?
In reply to Timtower:
yes
minecrafthostingpro
In reply to buppppppppppp:
Copy the url from the server log directly by downloading it with ftp.
I think that the web console is messing with the url.
In reply to Timtower:
I fixed the problem. It was only showing in the logs not in the console
In reply to buppppppppppp:
Yeah, it is an url, part of the url is html, html gets parsed, that is why people have broken links.
Hey dude! I have a problem here!
When i try backuping by DropBox, we get an URL right? So, when i got to URL i have an error!
Print: http://prntscr.com/jsbj8h
The image says: "Não encontramos a página que você está procurando.": "We can not find a page you are looking for."
I hope u can help me, thx
ViniiCarvalhoo u.u :)
by the way Very nice plugin :)
In reply to zvinniie:
In reply to zvinniie:
Hello, please ask when to create a sponge version of the plug-in, support api5-8
Uploaded a new version.
Fixed dropbox support in this.
Do note: dropboxpath should start with a /
@TheDarckel
Full log using http://pastebin.com please
@Bryan_Ponce
Your post is confusing as well with the format here.
If you don't know what something does then leave it what it is or ask me what it does
The config was a bit confusing...
DeleteAfterUpload: true IgnoreList: - backups - plugins/Dynmap - libs TimedBackup: enabled: true Interval: 1400 LastBackup: 1441448122080 Dropbox: enabled: true dropboxFolder: ServerBackups bytesPerUpload: 1024000 FTP: enabled: false ftpFolder: backups bytesPerUpload: 1024000 host: localhost port: 21 username: changeme password: changeme Messages: NoArgsGiven: I need arguments to function OnlyFromConsole: This command can only be used by the console ArgumentsUnknown: That is an unknown argument BackupStarted: Starting backup WaitingTillDone: Waiting till all methods are done uploading Dropbox: AuthLines: - 1. Go to {url} - 2. Click "Allow", probably have to login for this - 3. Copy the authorization code - 4. Perform "/backuplikeme dropbox <authorization code>" Error: An error occured when authorizing dropbox AuthComplete: Dropbox authentication complete UploadDone: Dropbox done uploading AuthFileNotFound: Dropbox authentication file not found FTP: UploadDone: FTP Done uploading
Some things are just like "Uhh..what does this do..."
@Bryan_Ponce
Please make a ticket with the suggestions.
@Timtower really nice plugin, would recommend updating :3
Adding random nice features, such as run commands when backing up? - save-all - broadcast Server backing up, expect lag! - {Delay:10} Backup {Delay:(seconds)}
@The_PC_Tech_Guy
I take feature requests by tickets.
The backup will be put in the main folder, next to the server, or in a backups folder, not sure, can't check my code atm.