LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-16-2011, 08:54 AM   #1
diego_almeida127
LQ Newbie
 
Registered: May 2011
Posts: 2

Rep: Reputation: 0
Backup windows sharing in fedora


Hi all,

I like a script for backup of windows 10 shares for an external hd in fedora? I don't have idea how to do this.
 
Old 05-16-2011, 09:25 AM   #2
zunder1990
LQ Newbie
 
Registered: Feb 2011
Posts: 29

Rep: Reputation: 3
You will need to take a look at smb, mount, and cp. Start by googleing "samba bash script". That is a start.
 
Old 05-24-2011, 07:01 AM   #3
diego_almeida127
LQ Newbie
 
Registered: May 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Looking on google I found this method:

#!/bin/bash

echo "Mounting"
mkdir -p /mnt/Backup
mount -t cifs //192.168.200.110/Backup -o usernamer=Admin,password="" /mnt/Backup
cp -Rap /mnt/Backup /media/Backup/Admin
umount /mnt/Backup


but to this method must be root and run the script when it does not become root, now I'm discovering as I get the script as root.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Printer sharing Between Fedora and Windows XP Batty Gombero Linux - Newbie 4 12-09-2010 01:57 AM
Windows Network Backup with Fedora 10 j.smith1981 Linux - Server 2 03-26-2009 03:48 PM
Fedora 10 File and Printer Sharing - Windows XP SP3 manuleka Linux - Newbie 2 02-27-2009 03:09 PM
Sharing from Fedora to Windows rvgriff Linux - Networking 5 10-17-2005 06:37 PM
Sharing a printer on Fedora with a Windows Machine timswim78 Linux - Networking 1 07-15-2005 07:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration