Jump to content

Search the Community

Showing results for tags 'backup'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
  • DayZ
    • Discussion
    • Public Servers
    • DayZ SA Resources
    • Q&A Section
  • ArmA 3
    • Epoch Survival
    • Community Projects
    • Q&A Section
    • Terrain Discussion
    • Resources
  • Arma 3 Resources
  • ArmA 2
    • General Discussion.
    • Q&A Section
    • Resources
    • Legacy Resources
    • A2: Community Projects
    • A2 Community Servers
  • Space Engineers
    • General Discussion.
    • Public Servers
  • Other Games
    • Discussion
  • Off Topic
    • Off Topic

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 11 results

  1. If you are a scripter and not using this, you're missing a lot. Grab a free copy now! The good thing about it is you don't even need to know git terminology/system, it's designed in a way that makes it super easy to jumpstart git http://www.syntevo.com/smartgit/ Just to be clear I don't work for the company behind this software, am not affiliated, and will not benefit in any way from increased user base. I am just an extremely happy user! While you can use it locally with zero issues, I also recommend a free GitLab.com account which is superior to GitHub.com as GitLab will allow you free private repositories [i.e.: space to put your stuff in] while GitHub will give you free space only if you allow to make it world-readable [i.e.: anyone on the Internet]. Any questions? shoot. SmartGit is a graphical user interface for Git GitLab is a web-based Git repository manager with wiki and issue tracking features. GitLab is similar to GitHub, but GitLab has an open source version, unlike GitHub. Also provides free private repos.
  2. Script from And I just made it 1 .bat file easy to use all you need to do is edit the Config settings section and the command line. Make a new .bat file on your desktop of your windows vps or dedi Paste this in it If you run multiple servers create a file for each server on your desktop all you have to do is change the command lines and the config settings to suit each server on each file. This script will re-run everything from this label :arma2oaserver every time the server cmd box is closed so yes if bec shuts down the server after x amount of hrs the script will backup your sql will re-start Bec & the Server If your server cmd box closes for some unknown reason this will terminate connection with Bec and so Bec shuts down but dont worry the script will backup your database then restart bec and your server (dont believe me try it run this script then close your server cmd box while this script is running and watch the magic lol)
  3. Sourceforge: https://sourceforge.net/projects/skbtforarma/ [RELEASE] Arma 2/3 Server Keepalive Batch Tool 1.2.2 I wrote this for our old A2 Epoch server in hopes of making a very simple and light-weight easy to use keepalive/restarter, it was very useful, thought I'd share with the public. This tool has developed on these forums considerably and now has many many more features that make administering and controlling your server much easier. Keepalive Status Window Keepalive GUI Keepalive GUI Configuration Properties Feature Archive: -Gui- ADDED IN 1.2.2: Higher core support for setting affinities (up to 100 cores O.O) ADDED IN 1.2.2: New status icons in config window for batch/server status ADDED IN 1.2.2: Added a new control bar in config window, to control keepalive/server -Core- ADDED IN 1.2.2: Added an exit batch check and new file to set this flag externally to close the keepalive. Auto start Database/Arma server and BEC if any one of them fails Logs events in real-time with a console display Easy configuration for any arma server (arma/arma 2/arma 3) Ability to Auto restart using BEC Scheduler (check readme for details) Ability to manually restart from an external program (eg, Web Service on same machine) Keepalive for the Keepalive (if batch crashes or something, it will keep running regardless) Auto log file rotation *added in 0.8.0 Auto Database Backup *added in 0.8.0 Ability to use 7zip to archive logs and/or database file *added in 0.8.0 Keep Arma Server Monitor active (Optional) (addon for arma 2/3) *added in 0.8.0 Keep Teamspeak Server Active (Optional) *added in 0.8.0 Database Interval, Minutes between DB Backups *added in 0.9.0 Ability to keep ASM server monitor alive. *added in 0.9.0 Ability to keep Teamspeak server alive. *added in 0.9.0 Log backup and db backup locations configurable *added in 0.9.0 Lets arma close nicely using #shutdown on automatic restarts (BEC Scheduler required) *added in 0.9.0 Manual Action Timeout configurable. (How long will it take you to upload new pbos?) *added in 0.9.0 Configuration settings for ASM logging capabilities. Check batch settings. *fixed in 0.9.1 Ability to configure another process to keep alive (such as a HC client or another server using a renamed exe file). *NEW IN 0.9.2 Project on Sourceforge and GitHub. *NEW IN 0.9.4 Crash Detection! Will force close any crashed processes! *NEW IN 0.9.4 Affinity and Priority settings! *NEW IN 0.9.4 Sleek GUI for managing and installing SKBT for multiple server on the same machine/network!*ADDED IN 1.0.0 Keepalive instance shortcuts to start menu and desktop. ADDED IN 1.0.1 Usage of parenthesis and spaces in path names fully! ADDED IN 1.0.3 Allow bec_flag_dsc parameter, (fix BEC auto closing due to no update signal). ADDED IN 1.0.3 Ability to change log detail level. Added in 1.1.0 Can forcefully delay between ONLY restart events 3 batch files in custom folder to aid in hooking code before certain events, more info inside those files (Check readme or more info) Tooltips to all configuration options Custom process tab! Keep any process you wish alive with your server (up to 100 extra processes!). ADDED IN 1.2.0 Heartbeat for external programs to know if the Keepalive is active. ADDED IN 1.2.0 Downloads: NOTE*: Please use the sourceforge/Github repositories to download. [LATEST RELEASE] DOWNLOAD 1.2.2 - GUI Installer tinyupload.com DOWNLOAD 1.2.2 - No Gui (Manual Install) tinyupload.com Mirrors on SourceForge / GitHub Development Snapshots available as standard. [OLDER RELEASES] For older releases please use the github/sourceforce release lists. *Latest Release: Please be advised the download links in this post are not the latest. SKBT was updated after the latest official release but do not fear! You do not need to build it! To download the latest binary of SKBT click here (sourceforge/skbtforarma/Master/Bin/Release/skbtInstaller_win32.exe) Check the commit logs on SF/GH for updates and changes. edit- Updated to 1.2.2.1 (Only on repo)
  4. MySQL DB backup v1.1. Note: This script is included in the DayZEpoch 1.0.6 distribution (when released). What is it. This is a Windows batch file (.bat) which will backup your MYSql database(s) for you. If you add it to Windows scheduler it can also run automatically at a frequency you define (every 15 minutes for example). Features. - Backup tables, triggers and events. - Housekeeps old backups after user defined number of days. - Resulting .sql files can be loaded in to a SQL client and run against a MYSQL database to recreate the structure and data from the backed up database. - Server DateTime format independant (works for MM/DD/YYYY or DD/MM/YYYY date formats). - Can be scheduled with Windows scheduler. How to use it. Create a .bat file (call it something like DB_Backup.bat) and paste the following in to it. @REM *** PARAMETERS/VARIABLES *** SET BackupDir="[Where you want to save the backups]" SET mysqldir="C:\Program Files\MySQL\MySQL Server 5.6\bin" SET mysqlschema=[Your DB schema name] SET mysqlpassword=[your DB password] SET mysqluser=[your DB user login] SET housekeepafter=5 for /F "usebackq tokens=1,2 delims==" %%i in (`wmic os get LocalDateTime /VALUE 2^>NUL`) do if '.%%i.'=='.LocalDateTime.' SET ldt=%%j set datestamp=%ldt:~0,4%-%ldt:~4,2%-%ldt:~6,2%.%ldt:~8,2%-%ldt:~10,2%-%ldt:~12,2% @REM *** EXECUTION ***@REM Change to mysqldir c: cd %mysqldir% @REM dump/backup ALL database, this is all in one line mysqldump -u %mysqluser% -p%mysqlpassword% --databases %mysqlschema% --routines --events --triggers --quick >%BackupDir%\%mysqlschema%_backup.%datestamp%.sql @REM - Housekeeping forfiles -p %BackupDir% -s -m *.sql -d -%housekeepafter% -c "cmd /c del @path" Configuration Input your DB connection details and desired backup save location. All details that need changing are in []. Make the changes without the []. e.g. SET mysqlschema=[Your DB schema name] may change to SET mysqlschema=EpochDB SET BackupDir="[Where you want to save the backups]" May change to SET BackupDir="c:\DB-Backups" Housekeeping will clear any .sql files that are over housekeepafter number of days old. You may need to confirm the MySQL path for the mysqldump exe as it may depend on your provider. Add "read" (without "") at the end of the file to require an input for debugging. This allows you to check the test backup is ok and troubleshoot any issues. Remove it when automating or the .bat file will never close. Automation can be done via Windows task scheduler. Create a basic task and then edit the tasks parameters after creating if you want to backup more than once a day. The option is only available after the task is created. Revision History. Current version: v1.1 Changes: - Amended code to cope with US & UK date formats when calculating the resulting .sql files datetimestamp included in the filename. Previous versions: v1.0: Initial version. Possible future improvements. I may add an option to compress (zip) the files if there is enough interest.
  5. i just threw this together, cause i wanted to backup my database once in a while, however i do not want be held responsible for anything you do to your system. pls remeber to backup anything you hold dearly before using this and NEVER use this with root permissions! http://pastebin.com/iBiZkvUb if setup correctly the script will backup the database to a folder named the day of the week, database name/folder will be something like: /whatever/dayoftheweek/dump_2015_26-07_14.00-01.rdb If you do not plan to use the same user, that runs redis-server to run the backup script, then you will need to make sure the dump.rdb is written with permissions to allow this. by default redis-server will be starting with --umask 007 flag, to change it you need to change the redis-server init script (mine was located at /etc/init.d/redis-server). find the line that starts like this: if start-stop-daemon --start --quiet --umask 003 this is whats important: --umask 007 we will need to change this to something like: --umask 003 now it will write the file with read permissions for all users (-rw-rw-r--). now make sure to restart redis-server: service redis-server restart change the path's on top of the script to determin where the database is located: # set path to where your redis.rdb file is located REDISDBDIR=/var/lib/redis and where you want the files to end up: # set path to where you want the db file to end up DBBACKUPDIR=/media/9c2af2c6-2d7e-4383-9255-6fa2b6d58a28/SysDisk/armabackup if you want it to delete or show you old database files you can use/uncomment the lines on the bottom: ########################################################## # Change how long you want to save a database copy below # ########################################################## #show old db's, uncomment to use: #-mmin = +minutes #find ${DBBACKUPDIR} -type f -mmin +240 #-mtime = +days #find ${DBBACKUPDIR} -type f -mtime +3 ################## IMPORTANT: ############################ # delete db's older than 7days, change the 7 below # # or comment out with a # infront of the line to disable # ########################################################## #find $DBBACKUPDIR -type f -mtime +7 -delete have fun Regards Halv
  6. Moved content to: http://maca134.co.uk/arma-3/redisdump-arma-3-epoch-backup-tool/
  7. Is there any way to perform full backup of the database file copying? My server is Vilayer Host, and want to make a local backup because I'm having trouble on the host. Downloading the file '' dump.rdb '' could only recover player character. Unable to recover buildings on the map. How to back up the constructions on the map?
  8. I created this because i wanted an easier alternative to the log-rotator.cmd included with epoch. I also dont want to rotate my logs everytime i do a database backup. This creates a backup of your dump.rdb (your database) and sorts it in a folder named YEAR-MONTH (e.g. 2014-12). the actual filename also gets a date and timestamp like "Epoch-20141230_2205.rdb". So by using this you will get your backups nice and sorted with a folder for every month of the year. Step 1: create a batch file inside your C:\-arma3 server path-\DB folder (where redis-server.exe is located)and name it backup.cmd. Insert the code below: ::::::::::::::Created by Fivenine @ NibbleGaming.tk:::::::::::::: :::::::::::::: CONFIG :::::::::::::::::: :::: Set your Arma3 Server base installation directory below. set arma3srvpath=C:\YOUR ARMA 3\SERVER FOLDER\HERE :::: Set your Redis Password and IP below (found inside Redis.conf) set Redispass=ChangeMe set RedisIP=127.0.0.1 ::::::::::: ADVANCED CONFIG :::::::::::: :: Don't touch anything below this point unless you know what your doing. :::::::::::::::::::::::::::::::::::::::: :: Set Time and Date SET _CUR_DATE=%DATE% SET _CUR_TIME=%TIME% ::Setting date FOR /F "tokens=1-4 delims=/.- " %%a IN ("%_CUR_DATE%") DO SET MONTH=%%b FOR /F "tokens=1-4 delims=/.- " %%a IN ("%_CUR_DATE%") DO SET DAY=%%c FOR /F "tokens=1-4 delims=/.- " %%a IN ("%_CUR_DATE%") DO SET YEAR=%%a :: Setting Time FOR /F "tokens=1-4 delims=:." %%a IN ("%_CUR_TIME%") DO SET HOUR=%%a FOR /F "tokens=1-4 delims=:." %%a IN ("%_CUR_TIME%") DO SET MINUTE=%%b SET FOLDER_NAME=%YEAR%-%MONTH% SET BACKUP_FILE=Epoch-%YEAR%%MONTH%%DAY%_%HOUR%%MINUTE%.rdb :: Forcesave Redis Database redis-cli -h %RedisIP% -a %Redispass% save ::create folders if exist "%arma3srvpath%\DBbackups" goto createYDfolder mkdir "%arma3srvpath%\DBbackups" :createYDfolder if exist "%arma3srvpath%\DBbackups\%FOLDER_NAME%" goto startbackup mkdir "%arma3srvpath%\DBbackups\%FOLDER_NAME%" :startbackup copy "%arma3srvpath%\DB\dump.rdb" "%arma3srvpath%\DBbackups\%FOLDER_NAME%\%BACKUP_FILE%" :: Done exit step 2: Download Redis from here https://raw.github.com/mythz/redis-windows/master/downloads/redis64-latest.zip and copy redis-cli.exe from inside that .zip to your DB folder. step 3: Done! Now just run backup.cmd to perform your backup. I include it in my restart procedure using simple batch files. You can also schedule it to run using windows task scheduler or whatever suits you best. Having problems? I'm not sure if this works with every time and dateformat. So depending on where you live you might get a weird date and time format on your folders and files. If you do, simply create a batch file, call it timetest.cmd and insert this: @echo off echo %DATE% echo %TIME% timeout 120 Run that batch file and then copy paste the output here and i'll help you out.
  9. Hey, guys. My server was running very well, until those 4 hackers got on my server, I detected and banned them very quick. Then one guy joined back in, asked me to unban his friends and try to scare me by saying attacking the server, and of course I said no, and banned him too. After someone name Bye Bye server try to join, I banned him before he could join. Then just in case, I went to check my database and my server files on FTP. I use Vilayer so I backup all my database on the FTP. And yeah, they did something. They drop my whole database and deleted all the Database backup. Lucky, I have a database backup on my computer. I changed all my password for database and Rcon, but is there a way to change the password for FTP? And just for the future, what should I do when under such a hacker attack? Thank you :)
  10. Hey, guys. My server was running very well, until those 4 hackers got on my server, I detected and banned them very quick. Then one guy joined back in, asked me to unban his friends and try to scare me by saying attacking the server, and of course I said no, and banned him too. After someone name Bye Bye server try to join, I banned him before he could join. Then just in case, I went to check my database and my server files on FTP. I use Vilayer so I backup all my database on the FTP. And yeah, they did something. They drop my whole database and deleted all the Database backup. Lucky, I have a database backup on my computer. I changed all my password for database and Rcon, but is there a way to change the password for FTP? And just for the future, what should I do when under such a hacker attack? Thank you :)
  11. Anyone have something for this? Trying to get 15-30 minutes backups My Backup.bat - http://pastebin.com/KWCn4aPH
×
×
  • Create New...