Raised This Month: $32 Target: $400
 8% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
angel635
Senior Member
Join Date: Apr 2011
Old 07-16-2013 , 11:05   Re: [ANY] Automated Server Backup [UPDATED 2013/05/08]
Reply With Quote #41

Quote:
Originally Posted by Popoklopsi View Post
@angel635

Post "sm exts list"

17:02:47 [SM] Listing 19 plugins:
01 "Client Preferences" (1.6.0-dev+3944) by AlliedModders LLC
02 "Reserved Slots" (1.6.0-dev+3944) by AlliedModders LLC
03 "Basic Ban Commands" (1.6.0-dev+3944) by AlliedModders LLC
04 "Sound Commands" (1.6.0-dev+3944) by AlliedModders LLC
05 "Basic Votes" (1.6.0-dev+3944) by AlliedModders LLC
06 "Basic Info Triggers" (1.6.0-dev+3944) by AlliedModders LLC
07 "Basic Comm Control" (1.6.0-dev+3944) by AlliedModders LLC
08 "Admin Help" (1.6.0-dev+3944) by AlliedModders LLC
09 "Anti-Flood" (1.6.0-dev+3944) by AlliedModders LLC
10 "Server Backup" (1.1.0) by Popoklopsi
11 "Basic Chat" (1.6.0-dev+3944) by AlliedModders LLC
12 "Admin Menu" (1.6.0-dev+3944) by AlliedModders LLC
13 "Fun Commands" (1.6.0-dev+3944) by AlliedModders LLC
14 "SM Be a Santa Claus" (1.1) by Franc1sco Steam: franug
15 "Basic Commands" (1.6.0-dev+3944) by AlliedModders LLC
16 "Fun Votes" (1.6.0-dev+3944) by AlliedModders LLC
17 "Admin File Reader" (1.6.0-dev+3944) by AlliedModders LLC
18 "Player Commands" (1.6.0-dev+3944) by AlliedModders LLC
19 "Nextmap" (1.6.0-dev+3944) by AlliedModders LLC
angel635 is offline
dordnung
Veteran Member
Join Date: Apr 2010
Old 07-16-2013 , 11:20   Re: [ANY] Automated Server Backup [UPDATED 2013/05/08]
Reply With Quote #42

This isn't "sm exts list", you posted "sm plugins list"

I need "sm exts list" also please add your config of server backup
__________________
dordnung is offline
angel635
Senior Member
Join Date: Apr 2011
Old 07-16-2013 , 11:55   Re: [ANY] Automated Server Backup [UPDATED 2013/05/08]
Reply With Quote #43

Code:
17:48:05 [SM] Displaying 10 extensions:
         [01] Automatic Updater (1.6.0-dev+3944): Updates SourceMod gamedata files
         [02] Webternet (1.6.0-dev+3944): Extension for interacting with URLs
         [03] CS Tools (1.6.0-dev+3944): CS extended functionality
         [04] BinTools (1.6.0-dev+3944): Low-level C/C++ Calling API
         [05] SDK Tools (1.6.0-dev+3944): Source SDK Tools
         [06] Client Preferences (1.6.0-dev+3944): Saves client preference settings
         [07] SQLite (1.6.0-dev+3944): SQLite Driver
         [08] Top Menus (1.6.0-dev+3944): Creates sorted nested menus
         [09] System2 (1.4): System Commands and Informations
         [10] SDK Hooks (1.6.0-dev+3944): Source SDK Hooks
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 "addons,cfg,custom"


// Here you can define the folders/files you want to exclude. Seperate with commas!
// -
// Default: "bin, download, downloadlists, logs, scripts, downloads, *.vpk"
backup_exclude "bin, download, downloadlists, logs, scripts, downloads, *.vpk"


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


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


// 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 "0"


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


// Host of your FTP server
// -
// Default: "192.168.0.1"
backup_ftp_host "MON IP"


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


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


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


// Port of your FTP server
// -
// Default: "21"
backup_ftp_port "21"
angel635 is offline
dordnung
Veteran Member
Join Date: Apr 2010
Old 07-16-2013 , 12:48   Re: [ANY] Automated Server Backup [UPDATED 2013/05/08]
Reply With Quote #44

You have to update System2 Extension to the newest version
__________________
dordnung is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 07-16-2013 , 13:06   Re: [ANY] Automated Server Backup [UPDATED 2013/05/08]
Reply With Quote #45



permission denied for 7z (Debian Wheezy, Virtual Machine) ??

chown -R my_user:my_user /path/to/system2 (chmod 755 folder and 644 for file) ?

Quote:
Command "/home/serveur/srcds/left4dead2/left4dead2/addons/sourcemod/data/system2/7z" a -tzip "/home/serveur/srcds/left4dead2/left4dead2/addons/sourcemod/data/server_backup/16-07-2013--18-57-53.zip" "/home/serveur/srcds/left4dead2/left4dead2" -xr!"*bin" -xr!"*download" -xr!"*downloadlists" -xr!"*logs" -xr!"*scripts" -xr!"*downloads" -xr!"**.vpk" -xr!"*server_backup" -mx3 -mmt -y.



sh: 1: /home/serveur/srcds/left4dead2/left4dead2/addons/sourcemod/data/system2/7z: Permission denied

Last edited by eric0279; 07-16-2013 at 13:09.
eric0279 is offline
dordnung
Veteran Member
Join Date: Apr 2010
Old 07-16-2013 , 13:35   Re: [ANY] Automated Server Backup [UPDATED 2013/05/08]
Reply With Quote #46

Quote:
Note: To allow extracting and compressing files, the data/system2/7z or data/system2/7z.exe file needs execute rights!
-> Execute rights should be 744
__________________
dordnung is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 07-16-2013 , 14:10   Re: [ANY] Automated Server Backup [UPDATED 2013/05/08]
Reply With Quote #47

Thanks !
eric0279 is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 07-17-2013 , 07:03   Re: [ANY] Automated Server Backup [UPDATED 2013/05/08]
Reply With Quote #48

hummmmmmmm sorry I forgot to put in my previous post but the problem persists :

server_backup.cfg :

Code:
// This file was auto-generated by SourceMod (v1.6.0-dev+3936)
// 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"

// Here you can define the folders/files you want to exclude. Seperate with commas!
// -
// Default: "bin, download, downloadlists, logs, expressions, gfx, materials, media, models, plateform, reslists, scenes, sound, resource, scripts, downloads, *.vpk, *.scr, *.rad, *.ekv"
backup_exclude "bin, download, downloadlists, logs, expressions, gfx, materials, media, models, plateform, reslists, scenes, sound, resource, scripts, downloads, *.vpk, *.scr, *.rad, *.ekv"

// 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 "192.168.0.1"

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

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

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

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

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

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

// 1 = Auto update plugin with God Tony's autoupdater, 0 = Off
// -
// Default: "1"
backup_update_plugin "1"
Quote:
backup_server
13:035 Unknown command "backup_server"
Quote:
74 "Server Backup" (1.1.0) by Popoklopsi

Last edited by eric0279; 07-17-2013 at 07:04.
eric0279 is offline
igortomiatti
Member
Join Date: May 2013
Old 07-19-2013 , 10:38   Re: [ANY] Automated Server Backup [UPDATED 2013/05/08]
Reply With Quote #49

Quote:
Originally Posted by Popoklopsi View Post
@igortomiatti

What game?
Counter-Strike Global Offensive
igortomiatti is offline
dordnung
Veteran Member
Join Date: Apr 2010
Old 08-10-2013 , 17:02   Re: [ANY] Automated Server Backup [UPDATED 2013/05/08]
Reply With Quote #50

Quote:
Originally Posted by eric0279 View Post
hummmmmmmm sorry I forgot to put in my previous post but the problem persists :
Why it doesn't regonize the command anymore?


Quote:
Originally Posted by igortomiatti View Post
Counter-Strike Global Offensive
The cs:go server is hibernating when there is no player on it, so maybe this is the problem. I'll take a look at it, sometime.
__________________
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 20:11.


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