Home Man
Today's Posts

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
Select Section of Man Page:
Select Man Page Repository:

OpenSolaris 2009.06 - man page for smbtar (opensolaris section 1)

SMBTAR(1)				  User Commands 				SMBTAR(1)

       smbtar - shell script for backing up SMB/CIFS shares directly to UNIX tape drives

       smbtar [-r] [-i] [-a] [-v] {-s server} [-p password] [-x services] [-X] [-N filename]
	[-b blocksize] [-d directory] [-l loglevel] [-u user] [-t tape] {filenames}

       This tool is part of the samba(7) suite.

       smbtar is a very small shell script on top of smbclient(1) which dumps SMB shares directly
       to tape.

       -s server
	   The SMB/CIFS server that the share resides upon.

       -x service
	   The share name on the server to connect to. The default is "backup".

	   Exclude mode. Exclude filenames... from tar create or restore.

       -d directory
	   Change to initial directory before restoring / backing up files.

	   Verbose mode.

       -p password
	   The password to use to access a share. Default: none

       -u user
	   The user id to connect as. Default: UNIX login name.

	   Reset DOS archive bit mode to indicate file has been archived.

       -t tape
	   Tape device. May be regular file or tape device. Default: $TAPE environmental
	   variable; if not set, a file called tar.out .

       -b blocksize
	   Blocking factor. Defaults to 20. See tar(1) for a fuller explanation.

       -N filename
	   Backup only files newer than filename. Could be used (for example) on a log file to
	   implement incremental backups.

	   Incremental mode; tar files are only backed up if they have the archive bit set. The
	   archive bit is reset after each file is read.

	   Restore. Files are restored to the share from the tar file.

       -l log level
	   Log (debug) level. Corresponds to the -d flag of smbclient(1).

       The $TAPE variable specifies the default tape device to write to. May be overridden with
       the -t option.

       The smbtar script has different options from ordinary tar and from smbclient's tar

       Sites that are more careful about security may not like the way the script handles PC
       passwords. Backup and restore work on entire shares; should work on file lists. smbtar
       works best with GNU tar and may not work well with other versions.

       See the DIAGNOSTICS section for the smbclient(1) command.

       This man page is correct for version 3.0 of the Samba suite.

       smbd(1M), smbclient(1), smb.conf(4).

       The original Samba software and related utilities were created by Andrew Tridgell. Samba
       is now developed by the Samba Team as an Open Source project similar to the way the Linux
       kernel is developed.

       Ricky Poulten wrote the tar extension and this man page. The smbtar script was heavily
       rewritten and improved by Martin Kraemer. Many thanks to everyone who suggested
       extensions, improvements, bug fixes, etc. The man page sources were converted to YODL
       format (another excellent piece of Open Source software, available at
       ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison.
       The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to
       DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.

       See attributes(5) for descriptions of the following attributes:

       |Availability	    | SUNWsmbar, SUNWsmbau |
       |Interface Stability | External		   |
       Source for Samba is available on http://opensolaris.org.

       Samba(7) delivers the set of four SMF(5) services as can be seen from the following

	    $ svcs samba wins winbind swat
	   disabled	  Apr_21   svc:/network/samba:default
	   disabled	  Apr_21   svc:/network/winbind:default
	   disabled	  Apr_21   svc:/network/wins:default
	   disabled	  Apr_21   svc:/network/swat:default

       where the services are:

	   runs the smbd daemon managing the CIFS sessions

	   runs the nmbd daemon enabling the browsing (WINS)

	   runs the winbindd daemon making the domain idmap

	   Samba Web Administration Tool is a service providing access to browser-based Samba
	   administration interface and on-line documentation.	The service runs on software
	   loopback network interface on port 901/tcp, i.e. opening "http://localhost:901/" in
	   browser will access the SWAT service on local machine.

       Please note: SWAT uses HTTP Basic Authentication scheme where user name and passwords are
       sent over the network in clear text. In the SWAT case the user name is root. Transferring
       such sensitive data is advisable only on the software loopback network interface or over
       secure networks.

Samba 3.0				    01/19/2009					SMBTAR(1)

All times are GMT -4. The time now is 01:33 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
Show Password