Thread: Auto Backup

Results 1 to 3 of 3
  1. #1 Auto Backup 
    Banned

    Join Date
    Aug 2011
    Posts
    843
    Thanks given
    541
    Thanks received
    220
    Rep Power
    0
    I don't take credit for this, found it on the internet and just thought someone could find this useful for their rsps. Save as AutoRar.bat in your source and just run it (You heard me, JUST DO IT.)as it automatically update your packages and directories. Make sure to change out the coloured text(input/output) with the correct directories to make it work. =)

    Code:
    @echo off
    title Auto Backup (RSPS)
    echo Starting
    cdC:\source or client directory here
    SET PATH=C:;C:\Program Files (x86)\WinRAR;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;%PATH%
    FOR /f "delims=" %%d IN ('DIR /B') DO WinRAR a -m0 -ep -df -x*.rar "C:\new directory where backup files go\%%~nxd.rar" "%%~fd"
    move /-y "C:\source and client directory here\*.rar" "C:\new directory where backup files go\"
    echo Completed backup on %DATE:~6,4%%DATE:~3,2%%DATE:0,2%
    pause
    exit
    Where -x*.rar means ¨exclude all .rar files¨. You can add more files to exclude for example add another -x*.zip
    Compressing in multivolumes:
    FOR /f "delims=" %%d IN ('DIR /B') DO WinRAR a -m0 -ep -df -x*.rar -v100m "C:\new directory where backup files go\%%~nxd.ra r" "%%~fd"
    To unrar secured password archives:
    ECHO OFF
    cd C:\change this directory for secured rars
    title Secured Archive Extractor
    echo Starting
    SET PATH=C:;C:\Program Files (x86)\WinRAR;C:\Windows\system32;C:\Windows;C:\Win dows\System32\Wbem;%PATH%
    FOR /f "delims=" %%d IN ('DIR /B') DO unRaR e -p123456 *.rar C:\change this directory for the output directory
    echo Completed
    pause
    exit
    To create a new scheduled task go Start>All Programs>Accessories>System Tools>Task Scheduler and from here follow the wizard
    Hope that helps most of you lads, enjoy
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    Registered Member
    Join Date
    Apr 2014
    Posts
    232
    Thanks given
    34
    Thanks received
    49
    Rep Power
    14
    Thanks alot might use!

    Edit: The bad thing about the auto backup is that it deletes the original files and turns them into rar, when i tried this on my source, the sources didnt have the full files to make it work i did extract everything etc and put everything to its place but still... but other then that i loved the idea.

    Edit2: I would recommand people backup their files before trying this!
    Reply With Quote  
     

  4. Thankful user:


  5. #3  
    Rune-Server Affiliate N0VA's Avatar
    Join Date
    Feb 2015
    Posts
    645
    Thanks given
    102
    Thanks received
    144
    Rep Power
    9
    Thanks, might use.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 43
    Last Post: 10-09-2014, 03:45 PM
  2. How to make auto backups
    By buttaz54 in forum Help
    Replies: 1
    Last Post: 01-15-2012, 06:12 AM
  3. Auto character backup
    By Devilaz in forum Tutorials
    Replies: 11
    Last Post: 08-10-2010, 01:46 PM
  4. [Z508]Super simple auto-backup system.
    By CiPi in forum Tutorials
    Replies: 12
    Last Post: 07-11-2010, 01:24 AM
  5. [z508/525] Auto Backup on login.
    By Mr NYC in forum Snippets
    Replies: 14
    Last Post: 04-02-2010, 03:56 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •