Data Backup

Protecting your Linux box
Post Reply
adilkhan_86
Naik
Posts: 83
Joined: Mon Dec 29, 2003 12:07 pm
Location: Karachi
Contact:

Data Backup

Post by adilkhan_86 »

Dear All,

I would like to know to have some kind of Opensource Backup Solution for my Office, Which will automatically take backup of user data.

Thanks
Warm Regards
Mohammad Adil Zulqarnain
Cell# 0301 2200030
x2oxen
Major General
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Location: Faisalabad
Contact:

Post by x2oxen »

You need to provide more information.. what kind of backup you need?? Be more discreet!
Muhammad Usman
+92-321-6640501
Chemonics International
http://usmanpk.com
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

discreet? i don't think that word means what you think it means.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear adilkhan_86,
Salam,

Can you please explain little bit more how you want to take backup ?

Best Regards.
Farrukh Ahmed
adilkhan_86
Naik
Posts: 83
Joined: Mon Dec 29, 2003 12:07 pm
Location: Karachi
Contact:

Post by adilkhan_86 »

Dear All,

I would like to take backup of users files, Currently users are using Windows XP, I need a backup server which will automatically take users files and save it on daily basis.
Warm Regards
Mohammad Adil Zulqarnain
Cell# 0301 2200030
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear adilkhan_86,
Salam,
adilkhan_86 wrote:I would like to take backup of users files, Currently users are using Windows XP, I need a backup server which will automatically take users files and save it on daily basis.
You can setup Samba Share with password protection for each user and create backup.bat file which will be run when user logout from system.

Best Regards.
Farrukh Ahmed
adilkhan_86
Naik
Posts: 83
Joined: Mon Dec 29, 2003 12:07 pm
Location: Karachi
Contact:

Post by adilkhan_86 »

Dear LinuxFreak,

Could you please let me know the link or some kind of user guide, Which will explain how to create backup.bat file.


Thanks
Adil
Warm Regards
Mohammad Adil Zulqarnain
Cell# 0301 2200030
adilkhan_86
Naik
Posts: 83
Joined: Mon Dec 29, 2003 12:07 pm
Location: Karachi
Contact:

Post by adilkhan_86 »

Dear Linux Freak,

I search the internet and find out, how to create .bat file and knew how to execute when computer starts. I need to know that I have a Windows 2003 Server and their I am trying to run that command but seems does not work, Could you please help me out. Please also tell me do this works with SAMBA because I have all XP machines?

xcopy /e /v /y C:\temp \\Server\Backup
Warm Regards
Mohammad Adil Zulqarnain
Cell# 0301 2200030
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear adilkhan_86,
Salam,
adilkhan_86 wrote:I search the internet and find out, how to create .bat file and knew how to execute when computer starts. I need to know that I have a Windows 2003 Server and their I am trying to run that command but seems does not work, Could you please help me out. Please also tell me do this works with SAMBA because I have all XP machines?

xcopy /e /v /y C:\temp \\Server\Backup
I do not have advanced working skills on Windows 2003.

Best Regards.
Farrukh Ahmed
mudasir
Captain
Posts: 565
Joined: Tue Oct 17, 2006 5:23 am
Location: Dubai
Contact:

Post by mudasir »

I did a same setup long time back.

I used a windows based software called backup premium. And at Linux i used Samba.
Its easy.
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
adilkhan_86
Naik
Posts: 83
Joined: Mon Dec 29, 2003 12:07 pm
Location: Karachi
Contact:

Post by adilkhan_86 »

Hi Mudasir,

But Backup Premium will cost $ 39 for each user:) don't you have some free solution for me?

If possible, Please send me the details how did you make your file server?

Thanks
Adil
Warm Regards
Mohammad Adil Zulqarnain
Cell# 0301 2200030
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear adilkhan_86,
Salam,

You can try bacula as it is similar to r1soft solution.

FYI, http://www.bacula.org/en/

Best Regards.
Farrukh Ahmed
adilkhan_86
Naik
Posts: 83
Joined: Mon Dec 29, 2003 12:07 pm
Location: Karachi
Contact:

Post by adilkhan_86 »

Dear All,

There is a solution which I find for the backup of windows PC, Yes, I really love Linux but in some enterprise environment 85% or more uses Windows as their Primary OS, So I would like to share a simple and small script you just needs to save it with some "X.bat" using notepad program and use windows schedule program to take automatic backup.

I hope that will help some one in the coming days:)

Quote,
@echo off
:: variables
set drive=d:\backup
set backupcmd=xcopy /s /c /d /e /h /i /r /y

echo ### Backing up My Documents...
%backupcmd% "%USERPROFILE%\My Documents" "%drive%\My Documents"

echo ### Backing up Favorites...
%backupcmd% "%USERPROFILE%\Favorites" "%drive%\Favorites"

echo ### Backing up the Registry...
if not exist "%drive%\Registry" mkdir "%drive%\Registry"
if exist "%drive%\Registry\regbackup.reg" del "%drive%\Registry\regbackup.reg"
regedit /e "%drive%\Registry\regbackup.reg"

:: change to the destination drive first
D:
:: your parent backup directory
drive=d:\backup

echo ### Searching for files to clean up...
cd %drive%
dir /s/b/ad \cookies > %drive%\cleanup.txt
dir /s/b/ad \temp > %drive%\cleanup.txt
dir /s/b/ad \history > %drive%\cleanup.txt

echo ### Deleting cookies, temp files and history from backup dir
for /f "delims=" %%J in (%drive%\cleanup.txt) do rd "%%J" /Q/S

echo Cleanup complete

echo Backup Complete!

Unquote,
I am also working to install an ftp server, once done will let you guys knows.

Thanks
Adil
Warm Regards
Mohammad Adil Zulqarnain
Cell# 0301 2200030
Post Reply