Raised This Month: $238 Target: $400
 59% 

[ANY] Automated Server Backup [UPDATED 2013/05/08]


Post New Thread Reply   
 
Thread Tools Display Modes
eric0279
AlliedModders Donor
Join Date: May 2007
Old 08-11-2013 , 03:28   Re: [ANY] Automated Server Backup [UPDATED 2013/05/08]
Reply With Quote #51

I don't know :s

A example, I restart my server, in game, rcon_password xxxxxx, rcon backup_server :
Quote:
Unknown command "backup_server"
after a change map = same....

server_backup.cfg :
Code:
// This file was auto-generated by SourceMod (v1.5.0-dev+3857)
// ConVars for plugin "server_backup.smx"


// Here you can define the folders/files you only want to backup, if you set here something, only these folders/files will be backuped. Seperate with commas!
// -
// Default: ""
backup_add ""

// Server Command to make a backup of the server
// -
// Default: "backup_server"
backup_command "backup_server"

The system crontab does not operate, the daily backup is not done (config by default)

Last edited by eric0279; 08-11-2013 at 03:29.
eric0279 is offline
igortomiatti
Member
Join Date: May 2013
Old 09-01-2013 , 23:37   Re: [ANY] Automated Server Backup [UPDATED 2013/05/08]
Reply With Quote #52

After I updated to the SourceMod 1.5 and metamod to 1.10, I get the following message in the log backup my server CSGO:

Command "/home/service190/csgo/addons/sourcemod/data/system2/7z" a -tzip "/home/service190/csgo/addons/sourcemod/data/server_backup/31-08-2013--16-00-25.zip" "/home/service190/csgo/addons" "/home/service190/csgo/cfg" "/home/service190/csgo/gamemodes_server.txt" "/home/service190/csgo/mapcycle.txt" "/home/service190/csgo/maplist.txt" -xr!"*server_backup" -mx3 -mmt -y.



EMPTY Reading Result!

Last edited by igortomiatti; 09-01-2013 at 23:38.
igortomiatti is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 09-02-2013 , 00:02   Re: [ANY] Automated Server Backup [UPDATED 2013/05/08]
Reply With Quote #53

Your plugin works randomly .... The idea was good ....

Pending a better version, I deactivated and I do my backups manually....
eric0279 is offline
igortomiatti
Member
Join Date: May 2013
Old 09-17-2013 , 22:22   Re: [ANY] Automated Server Backup [UPDATED 2013/05/08]
Reply With Quote #54

It would be great if launch a new version to work properly in SourceMod 1.5.

Cause I like the plugin and use it.
igortomiatti is offline
dordnung
Veteran Member
Join Date: Apr 2010
Location: Germany
Old 09-26-2013 , 17:32   Re: [ANY] Automated Server Backup [UPDATED 2013/05/08]
Reply With Quote #55

Quote:
Originally Posted by igortomiatti View Post
After I updated to the SourceMod 1.5 and metamod to 1.10, I get the following message in the log backup my server CSGO:

Command "/home/service190/csgo/addons/sourcemod/data/system2/7z" a -tzip "/home/service190/csgo/addons/sourcemod/data/server_backup/31-08-2013--16-00-25.zip" "/home/service190/csgo/addons" "/home/service190/csgo/cfg" "/home/service190/csgo/gamemodes_server.txt" "/home/service190/csgo/mapcycle.txt" "/home/service190/csgo/maplist.txt" -xr!"*server_backup" -mx3 -mmt -y.



EMPTY Reading Result!

This does not mean that it doesn't work. Do you get any backup file?
__________________
dordnung is offline
igortomiatti
Member
Join Date: May 2013
Old 09-29-2013 , 17:34   Re: [ANY] Automated Server Backup [UPDATED 2013/05/08]
Reply With Quote #56

Quote:
Originally Posted by Popoklopsi View Post
This does not mean that it doesn't work. Do you get any backup file?
I do not receive any files, only the backup log.

Last edited by igortomiatti; 09-29-2013 at 19:20.
igortomiatti is offline
Battles Clan
SourceMod Donor
Join Date: Aug 2013
Location: Brasil
Old 01-13-2014 , 11:15   Re: [ANY] Automated Server Backup [UPDATED 2013/05/08]
Reply With Quote #57

Any news of when we will return to work in CS: GO?
Battles Clan is offline
dordnung
Veteran Member
Join Date: Apr 2010
Location: Germany
Old 01-13-2014 , 15:03   Re: [ANY] Automated Server Backup [UPDATED 2013/05/08]
Reply With Quote #58

You can try to set "sv_hibernate_when_empty" to 0
__________________
dordnung is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 01-17-2014 , 07:44   Re: [ANY] Automated Server Backup [UPDATED 2013/05/08]
Reply With Quote #59

Hello,

alway same problem...

backup_version "1.1.0"

7z and 7z.exe (chmod 755)

SM 1.6.0 3975

.cfg :
PHP Code:
// Server Command to make a backup of the server
// -
// Default: "backup_server"
backup_command "backup_server"


// Here you can define the folders/files you only want to backup, if you set here something, only these folders/files will be backuped. Seperate with commas!
// -
// Default: ""
backup_add ""

// Hour to start backup
// -
// Default: "05"
backup_hour "04"

// Minute to start backup
// -
// Default: "00"
backup_min "30"

// 1 = Auto update plugin with God Tony's autoupdater, 0 = Off
// -
// Default: "1"
backup_update_plugin "1"

// 1 = Use FTP upload, 0 = Off
// -
// Default: "0"
backup_ftp "1"

// 1 = Delete file on successfull upload, 0 = Off
// -
// Default: "1"
backup_ftp_delete "0"

// Host of your FTP server
// -
// Default: "192.168.0.1"
backup_ftp_host "hostname.com"

// Username to login
// -
// Default: "username"
backup_ftp_user "username"

// Password for username to login
// -
// Default: "password"
backup_ftp_pass "mypassword"

// Path to your folder to save backups to
// -
// Default: "path/on/ftp"
backup_ftp_path "/Backup_Dedie/LetsGo/"

// Port of your FTP server
// -
// Default: "21"
backup_ftp_port "21"

// Here you can define the folders/files you want to exclude. Seperate with commas!
// -
// Default: "bin, download, downloadlists, logs, scripts, downloads, *.vpk"
backup_exclude "left4dead2_dlc1, left4dead2_dlc2, left4dead2_dlc3, left4dead2_lv, platform, update, hl2, expressions, gfx, maps, materials, models, relists, resource, sound, bin, logs, scripts, downloads, *scr, *.ekv, *.vpk, *.vdf" 
in game :
Code:
rcon_password my_rcon
rcon backup_server
return:
Quote:
Unknown command "backup_server"
backup_hour and backup_min return correct value

Last edited by eric0279; 01-17-2014 at 07:45.
eric0279 is offline
dordnung
Veteran Member
Join Date: Apr 2010
Location: Germany
Old 01-17-2014 , 10:00   Re: [ANY] Automated Server Backup [UPDATED 2013/05/08]
Reply With Quote #60

I just tried it myself:

Downloaded and installed it like it is:

Quote:
backup_server
L 01/17/2014 - 14:597: [server_backup.smx] Server Backup Started!
and:

Quote:
] rcon backup_server
L 01/17/2014 - 15:03:00: [server_backup.smx] Server Backup Started!
I also took your config and had no problems, too.
__________________

Last edited by dordnung; 01-17-2014 at 10:35.
dordnung is offline
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

Forum Jump


All times are GMT -4. The time now is 23:53.


Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Theme made by Freecode