Ubuntu :: Auto Backup To Samba File Server

May 8, 2010

I just switch back to ubuntu after running the windows for about a 6 months again, new laptop, programs needed in windows, either way I'm back. What I had setup in windows were specific files that would auto backup to my samba file server when the network was detected. I'm looking to do the same in ubuntu now. Basically I'm thinking of writing a script to backup the files, only thing I'd be stuck with is how to tell the script to run when I connect to the network at home? Is their software already designed for this.

View 1 Replies


ADVERTISEMENT

CentOS 5 :: Samba Server Backup For 5?

Jul 9, 2009

I have re-installed our operating system (CentOS 5) ,what is the best way to restore our Samba server? Can it be as simple as copying the smb.config and smbpasswd files back into the /etc/samba directory? That's what I am hoping. If I just copy the smb.config and the smbpasswd files back to the samba directory will the machine trusts, users and passwords just work? If not, what is the proper procedure for restoring. Actually i want to make CentOS 5.3 as my Domain Controller, I want to test all Scenario in case of any disaster of DC before putting it into production environment. I have some queries as:

1. Is CentOS 5 is more stable than RHEL 5 etc.

2. How can i take back up of entire samba server if need it in case of any disaster. How can i restore it.

3. How can i use logon scripts like GPO in windows servers.

4. How can add users in samba server and linux at one time with one command.

5. tell me any Web based samba administration tool other than SWAT.

View 1 Replies View Related

Fedora Servers :: Samba, How To Auto Start Server On Bootup On F1

Dec 18, 2010

Problem I have is the Samba server, it does not seem to start up the shares at boot.When I boot the system, nothing is available on the network, I have to run the Samba Server Configuration Tool everytime I want to access a share, edit a share, save and quit, then my network shares become available.I see Starting SMB services during boot up, it says OK.It worked good on Fedora13.

View 2 Replies View Related

Server :: Samba Backup Domain Controller - Windows 2003?

Nov 1, 2009

is possible configure a samba server to a Backup Domain Controller in a windows 2003 Domain ? I have a Primary Domain controller Windows server 2003 , can integrate my network with a linux samba Backup Domain Controller server ?

View 1 Replies View Related

Server :: Sync File Server Data Into Backup Server Machine By Command- Rsync -avu?

Jun 21, 2011

iam trying to sync file server data into backup server machine by command- rsync -avu path/of/data ipaddress-of-backup-server:/path/where/to/save after running it ask for root password and manually it is successful.but i want to make it automatic.for that i also tried cronjob and also generated authentication key but iam not successful in login automatically..anybody know how to authenticate root to login for storing data in backup server.

View 14 Replies View Related

Server :: Log File Monitoring Script On Server But After An Auto Update Recently It Seems To Have Disapperaed?

Jun 28, 2010

I used to have a log file monitoring script on my server but after an auto update recently it seems to have disapperaed.Can anyone think of some log file analyzers that send outputs of ssh, amount of disk space used etc. as I cannot remember the name of the program at all.

View 1 Replies View Related

Ubuntu Servers :: Deciding File System For File Server (samba)?

Jan 7, 2011

I'm planning to add 1tb sata disk to my lovely file-server under ubuntu 10.10,what i want is use this disk as additional storage for network user,indows and ubuntu?I mean when my ubuntu server down (worse case) I can easily take out the disk from ubuntu machine and plug in on windows machine

View 2 Replies View Related

Ubuntu :: Samba - Windows Read Files From A Home File Server With An Ext4 File System?

Jan 28, 2011

Can windows read files from a home file server with an ext4 file system? or do I have to partition the drive with the server (ext4) and an ntfs partition with the files on?

View 4 Replies View Related

Server :: Unable To Open New Log File /var/log/samba/xxx.xxx.xxx.xxx. No Such File Or Directory

Mar 8, 2010

CentOS 5.x with AD authentication. My samba servers(3) are all reporting the same error:

Quote:

Unable to open new log file /var/log/samba/xxx.xxx.xxx.xxx. No such file or directory.
lib/debug.c:reopen_logs(625)

The xxx.xxx.xxx.xxx is the ip address of the station accessing the samba share I assume.

View 4 Replies View Related

Ubuntu :: Set Up Home File And Backup Server From An Old Computer?

Dec 8, 2010

Through the Black Friday shuffle of getting new hardware, I now have a 500TB external drive, a 1TB external drive, and an old computer I want to set up as a home server. My family has a lot of photos that are currently stored on many different computers and are not backed up, I want 500gb of space for photos, and for those photos to be backed up. That would leave the other half of the 1TB drive for assorted things like personal backups, and general file storage. I know enough how to set up Ubuntu server edition on the computer, but the options on how I can set up the storage is stumping me.

To Recap, I have 1.5TB of storage total split 1TB/500GB. I want 500GB to be used for a central storage for the 10+ computers in my house(mostly using Windows) and that 500GB would be automatically backed up. The 500GB that's left would be used for non critical files, and wouldn't be backed up.

What is the best way of backing up the files? (script once a day that copies files? Some backup program?)

Would the 500gb drive be best for backing up to(having the 1TB be where people would put the pictures) or the other way around? Does it really matter?

Any tips on the cleanest way to have this work cleanly with Windows, Linux, and Mac? How well do photo programs(Picasa, Shotwell, iPhoto) like a setup like this? Is it possible to have different programs on different machines all reference the same file system without their automatic sorting(to folders, usually by date) messing each other up?

View 1 Replies View Related

Server :: Command To Backup An Image Or .iso File?

Mar 3, 2011

Is there a way/command to back up all data from a Red hat Linux 4 serve[Including user rpofiles, data, group info, encrypts] either to a Red hat Linux 5.4 machine or as an Image file or manageable resource?

View 1 Replies View Related

Server :: Unable To Decompress TGZ Backup File

Jan 3, 2011

I have recently upgraded to Bugzilla3 and I wanted to restore my bugzilla database with my backup but when I attempt to tar -xvvzf file.tgz I get the error:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors

My script that creates the backup is:
#!/bin/sh
datestr=`date +%m-%d-%Y`
bakdirpart="bugzilla.backup.$datestr"
bakdir="$HOME/$bakdirpart"
mkdir "$bakdir"

(cd /etc; tar cvzf $bakdir/mysql.conf.tgz mysql)
(cd /etc; tar cvzf $bakdir/apache2.conf.tgz apache2)
(cd /usr/share; tar cvzf $bakdir/bzreport.share.tgz bzreport)
(cd /usr/share; tar cvzf $bakdir/bugzilla.share.tgz bugzilla)
(cd /var/lib; tar cvzf $bakdir/mysql.hotdb.tgz mysql)
(cd /var; tar cvzf $bakdir/www.tgz www)
(cd "$HOME"; tar cvf "${bakdir}.tar" "$bakdirpart")

Is there any way to recover my backup copy?

View 7 Replies View Related

Server :: File Server For Windows - Mount More Than One Samba Shares As Network Disk

Jun 17, 2011

I want to setup a Linux File Server for a small windows network (around 50 users). I do know that I am gona need Smb service/pkg for that. I haven't used Samba for a while now and as per the best of my knowledge, entire communication (including usernames and passwords) between a samba server & windows client machines will be plain text. Is there any way to secure all this communication??

Secondly, if i remember correctly, MS windows wont let me mount more than one samba shares as network disk when all my shares can be accessed by different smb users with different passwords?? is there a solution to this problem? OR may be if there is any other package available for this purpose so that i wont have to use samba?

View 4 Replies View Related

Server :: CentOS /Samba Server- XP Windows Client File Sharing?

Nov 3, 2009

I have a CentOS + Samba server and Windows XP client machines. Users, passwords and permissions are entered on the server machine.users and passwords ( same as on the server ) are entered in the XP client machine.When attempting to access a public file on the server using a XP client machine and the IP address of my server, I am asked a user name and password and none of the already entered seem to work. I cannot access the server file (prompted again and again to enter user name and password). What did i miss

View 7 Replies View Related

Server :: Extend Rights In Samba For Enterprise File Server?

Jun 17, 2009

I am trying to implement a NAS running Debian to replace the Windows 2003 file server.We implemented the system and we integrated it with the active directory. Is it possible to manage the access rights using windows tools and get the same amount of detail(not the right word) on access.As an example, we have the following folder structure:

Teams&Projects All users list, admins full
Team1 All users list, admins full, some users modify
Project1 All users no access, admins full, some modify, some list

I have read some articles on the internet that this is possible but I do not have enough information to implement this.

View 4 Replies View Related

Software :: File Server, Backup Windows PC's Across The Network?

May 16, 2010

I have use Linux ( Suse, Ubuntu , Red Hat ) different times for different things. My newest goal is File Server. Here are the specs, I have already made the box, just choosing the OS here is what it needs to be able to do from order of most important to least.

Specs;
CPU- AMD Phenom IIx4 945
Ram- 4GB DDR 3 1600mhz
Mobo- Asus M4a79xtd EVO
Video- ATI 4650
PSU- Corsair 650w Modular

[Code]...

View 1 Replies View Related

General :: Backup Of The Access Log File Without Disturbing The Server Performance

May 20, 2010

I am administering a live web server i want to keep a backup of the access log file without disturbing the server performance. can anyone guide me how to to this. the size of teh log file run in GB so i will need to take a daily backup

View 7 Replies View Related

Server :: Rsync Error - Command To Backup Image File

Oct 6, 2010

when i use rsync command to backup my image file , it shows the following error message.

bash: line 1: /usr/bin/rsync: Argument list too long
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: remote command could not be run (code 126) at io.c(463) [receiver=2.6.8]

The command which i used is rsync -avrl -e ssh cms@server:/data/cms/data/images/* /mnt/Backup/Intranet_cms_backup/images

View 7 Replies View Related

Ubuntu Servers :: Rsync Auto Login And Schedule Backup?

Nov 11, 2010

I have setup Rsync as a daemon on a Ubuntu 10.04 box and the setup was successful. Here are my configs

Code:
root@hurricane:`# nano /etc/default/rsync
# defaults file for rsync daemon mode
# start rsync in daemon mode from init.d script?
# only allowed values are "true", "false", and "inetd"

[Code].....

View 6 Replies View Related

Ubuntu Networking :: Both NFS And Samba On The File Server?

Apr 29, 2010

I have in my home 3 pc's 2 of them ubuntu, 1 windows/ubuntu. I have a NAS (mybook WD) that I'm going to hack to install a linux OS on it, to take advantage of some benefits. I'll need access from windows networks. I've read there are many benefits of NFS over Samba, with the inconvinient that it cannot be access by windows. Is it a good idea to have both NFS and samba on the file server?

View 1 Replies View Related

Debian :: Backup Purge Script - `/mnt/backup/subfolder': No Such File Or Directory

Nov 10, 2010

This script simply deletes files older than a certain age (in this case 7 days) from a certain location; I use it to purge old backups nightly, and it works as expected:

# delete backups older than 7 days
find /mnt/backup/*  -mtime +7 -exec rm -Rf {} ;

The problem is, every morning I get an email with an error message something like this:

find: `/mnt/backup/subfolder': No such file or directory

View 2 Replies View Related

Ubuntu Installation :: 11.04 Install Auto-deleted Backup Hard Disk?

May 2, 2011

My backup hard disk is connected by USB cable. After I installed Ubuntu 11.04 the disk had been wiped and a version of Ubuntu installed on it.I had forgotten to disconnect the external disk's usb cable before running the install in case something like this happened.I then just took whatever the installer said regarding partitions: I trusted it;and the installer's manual partition manager is a little too technical to be user-friendly. Mostly, I just trusted the automated partition manager to be making the right decisions for me.

The installer's auto-partition manager said it was erasing two partitions. I thought, oh that must include some sort of swap drive then.The auto-partition manager said it was using 500Gb of space. I thought, well there's more HD space on my desktop than I thought.I recently acquired the machine. It was a hand-down.The installer said do you want to install Ubuntu with, over or beside whatever existing versions there are. I said, over. I wanted a clean install since my attempt at making Ubuntu do an upgrade install had already failed. This was clearly stupid of me. But it was not as stupid as issuing an O/S installer that did what this one did.

The installer completely wiped my external usb backup drive. Not only that, but it installed another instance of Ubuntu on it. The install routine actually installed two instances of Ubuntu 11.04: one on my local HD and one on my now erased external HD.Just to rub salt in the wound, the update manager only updates the version that's running: the version on my internal HD. The version the installer copied over my backup data is redundant.I have fortunately a second backup of most essential data. But the external HD contained data that was not copied elsewhere. It has been permanently erased. It will probably possible to retrieve this data from original sources at a considerable inconvenience. I do not know at this time whether and how much of the data that was erased is now lost forever and what the consequences of the loss would mean.

View 9 Replies View Related

Ubuntu Networking :: Setting Up Samba File Server?

Nov 27, 2010

I'm trying to set up an old computer that was donated to my by an aunt to hold my external hard drives and use it as a file server so i can use them from anywhere within my house. However I can not seem to get the samba server to broadcast/be seen by my ubuntu installation, nor my windows installation.

I've read the manual, to an extent, but I feel as if I am missing something. All I want is to have it to where I can just type in \server and bring up my files to access without having to worry about passwords.

Here is the config file:

Code:
[global]
workgroup = WORKGROUP
netbios name = GrenadingBadger
security = share

[Code]....

View 5 Replies View Related

Ubuntu Networking :: REG:samba File Server With Ads Authentication?

Jun 14, 2011

Our system setup: windows server domain controller 2008 We are installed sambain Ubuntu 11.04, with ads authentication using winbind,i can able to give the access restriction from Linux for windows ADS User for linux samba share folderall are working fine from Linux,i want give the access fro domain user from MS -windows , what is the file permission owner ,etc, any one try this concept please give me a any document any example

View 1 Replies View Related

Server :: File Sharing Using Samba?

Feb 25, 2011

i am able to set up samba server with adc it is working properly. also i set the GID and stikki bit permission in sharing so i can set only crater can delete the files. But i want some users have ability to delete permission for all files and folders in that sharing

I am not able to set that

View 3 Replies View Related

Ubuntu :: Restore Backup Server - Where Is The Location Backup Snapshots Or Files Are Saving

May 10, 2011

I install and tested Restore EE Backup server on a test PC with basic configuration and its working fine.

[URL]

The issue i have is where is the location these backup snapshots or files are saving? I want to add a separate Storage to save the backup?

View 1 Replies View Related

Server :: Amanda Unable To Copy Backup File From Holding Disk To Tapes

May 14, 2010

I have some issue with my amanda backup server, which is connecting with Scalar Quantum i500 via FC. I got the error as below 3 days ago.
These dumps were to tape 000289.
*** A TAPE ERROR OCCURRED: [No more writable valid tape found].

Normally I will load the proper tapes and run the amflush to push stuff from the holding disk to tapes manually. However this time amflush in this case did not help, Amanda immediately responded with an out of tape error again.

Meanwhile I got some errors from dmesg as well
st3: Error 18 (sugg. bt 0x0, driver bt 0x0, host bt 0x0).
scsi1 (0,3,0) : reservation conflict

View 8 Replies View Related

CentOS 5 Server :: Estimate The Amount Of Time The Backup Will Take And The Size Of The Image File?

Jul 26, 2009

I have a CentOS5 server with a 1tb hard drive.There is only 80gb of data on that huge drive and now I want to make a bare metal recovery backup using AcronisMy question is, how can I estimate the amount of time the backup will take and the size of the image file? Is it based on the size of my drive or is it based on the amount of data on the drive?

View 1 Replies View Related

General :: File Is An Automated Backup Script, Backup.sh?

Sep 13, 2010

Can some one give me a sample of a crontab for backing a directory please, System is Ubuntu 9.04Quote:

#!/bin/bash
# this file is an automated backup script, backup.sh.
# this backs up my domain site.

[code]....

View 7 Replies View Related

Ubuntu Networking :: Samba File Server - Printer Drops

Mar 11, 2010

I have a Samba file server with one windows & one Ubuntu workstation. The Ubuntu workstation is a Samba print server. The problem is that the XP machine cannot access the printer. If I restart Samba on the print server it works again. There may be a pattern but I havn't figured it out yet.

Here's my file:
[global]
workgroup = voodoonet
netbios name = Bob
name resolve order = bcast host lmhosts wins
server string =
map to guest = Bad User
local master = yes
os level = 33
usershare allow guests = Yes
usershare max shares = 100
usershare owner only = False
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
load printers = yes
use client driver = yes

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
create mask = 0700
browseable = No
guest ok = Yes

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no

[Documents]
path = /home/bob/Documents
writeable = yes
browseable = yes
guest ok = yes

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved