Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Best command line tool to back up specific files? (Tried Winrar)

  • 11-02-2006 8:31pm
    #1
    Registered Users, Registered Users 2 Posts: 1,766 ✭✭✭


    Hi All,

    I'm trying to create a backup script using winrar to zip up specific folders and files using the following syntax:

    REM *** a=add to archive, -m5=best compression, compress path, backup list file (but only include files not dirs!)
    rar a -m5 e:\Criticals\emails.rar @e:\Criticals\Latest\emails.bak


    emails.bak would hold this line:
    C:\Documents and Settings\User\Application Data\Thunderbird\Profiles\*

    ie, the rar cmd is given this path to find files.

    (but only picks up the current directory of files - doesn't pick up subdirectories or subfiles!!! I want all backed up)
    ie This line is read by winrar as "zip up the files in this directory"

    Maybe Admins experts would know a way around this? Or recommend a better way? Or maybe a nice tool?


    *Update -> I see a tool called MyZippa which can save various combinations of folders into profiles which can quickly be loaded or run via the command line (useful for backup purposes.. this might be useful since it can integrate with winrar.


Comments

  • Registered Users, Registered Users 2 Posts: 9,560 ✭✭✭DublinWriter


    7zip, or learn how to use the command line parameters of rar properly (hint: recursive).


  • Registered Users, Registered Users 2 Posts: 1,766 ✭✭✭hamster


    yeah... -r .... got it. Thank you.


  • Moderators, Recreation & Hobbies Moderators, Science, Health & Environment Moderators, Technology & Internet Moderators Posts: 93,567 Mod ✭✭✭✭Capt'n Midnight


    7zip, or learn how to use the command line parameters of rar properly (hint: recursive).
    the command prompt version is 7za.exe
    syntax is in the help of the windows version


Advertisement