Hi, it's not easy to know but since You have descriptive variable names, I could guess that You expect the backup file to end up in /tmp?
First, look in Your current working directory, it may already be there.
Otherwise, You could try to change Your tar command to say:
Hi all
what may be the cause when i try to restore the backup (TAR)
It's giving error
tar block size =1
directory checksum error
please suggest as soon as possible
try n learn
praful (4 Replies)
I am running my solstice backup 5.5.1 server on a solaris 2.6 platform.
I have a remote client ; my mailserver also running solaris 2.6.
I created a unique pool and group for my mailserver, but when i label to pool, mount and run backup, it doesnt backup my mailserver, rather it gives me error... (10 Replies)
I tried backing up my mailserver on my nsrhost using solstice backup 5.5.1 software. After creating the usual custom settings, and starting the backup procedure using the group control button, backup initializes but the group backup becomes suspended.
When i click on the details radio button in... (4 Replies)
Hi. Can someone please tell what the following tape error message means:
Read end of medium on output
If you want to go on, type device/file name when ready
This message comes after the terminal displays a few files from the directory I'm trying to backup.
The command I'm running is:
... (1 Reply)
We have an older HP Unix 10.20 system that we rarely ever use anymore. Most of our jobs on it are from 1994 to 2002. Anything after that is on Windows XP. The Unix system was backed up religiously every day. Because of space constraints some of the jobs were removed from the system after a... (3 Replies)
Hi,
Following is the script I made for backing up Cpanel server.
================================================
#! /bin/bash
rsync -raopguzl --delete --exclude "*.tar.gz" --progress --delete-excluded root@$hostname:/$otherdir/$i/ /mnt/iscsi/$hostname/home/$i
done
... (6 Replies)
I had an idea of very-very easy bacup script that packs ALL of the files in current dir (including the subfulders and with spaces in name), packs them with tar+gz and moves to a directory. I'm using Cywin under WinXP.
But I have a problem with tar. When I do in a single line
"tar -rf... (2 Replies)
Hi I am using Ubuntu back up program to the back up automatic.
Problem is that recently the app start to fail.
I get the following message:
Traceback (most recent call last):
File "/usr/bin/duplicity", line 1359, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1342,... (1 Reply)
Hi Everyone,
we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment?
Thanks in adv. (0 Replies)
HI all, im new to shell scripting. need your guidence for my script. i wrote one script and is attached here
Im explaining the requirement of script.
AIM: Shell script to run automatically as per scheduled and backup few network devices configurations. Script will contain a set of commands... (4 Replies)
Discussion started by: saichand1985
4 Replies
LEARN ABOUT SUSE
git-tar-tree
GIT-TAR-TREE(1) Git Manual GIT-TAR-TREE(1)NAME
git-tar-tree - Create a tar archive of the files in the named tree object
SYNOPSIS
git tar-tree [--remote=<repo>] <tree-ish> [ <base> ]
DESCRIPTION
THIS COMMAND IS DEPRECATED. Use git archive with --format=tar option instead (and move the <base> argument to --prefix=base/).
Creates a tar archive containing the tree structure for the named tree. When <base> is specified it is added as a leading path to the files
in the generated tar archive.
git tar-tree behaves differently when given a tree ID versus when given a commit ID or tag ID. In the first case the current time is used
as modification time of each file in the archive. In the latter case the commit time as recorded in the referenced commit object is used
instead. Additionally the commit ID is stored in a global extended pax header. It can be extracted using git get-tar-commit-id.
OPTIONS
<tree-ish>
The tree or commit to produce tar archive for. If it is the object name of a commit object.
<base>
Leading path to the files in the resulting tar archive.
--remote=<repo>
Instead of making a tar archive from local repository, retrieve a tar archive from a remote repository.
CONFIGURATION
tar.umask
This variable can be used to restrict the permission bits of tar archive entries. The default is 0002, which turns off the world write
bit. The special value "user" indicates that the archiving user's umask will be used instead. See umask(2) for details.
EXAMPLES
git tar-tree HEAD junk | (cd /var/tmp/ && tar xf -)
Create a tar archive that contains the contents of the latest commit on the current branch, and extracts it in /var/tmp/junk directory.
git tar-tree v1.4.0 git-1.4.0 | gzip >git-1.4.0.tar.gz
Create a tarball for v1.4.0 release.
git tar-tree v1.4.0^{tree} git-1.4.0 | gzip >git-1.4.0.tar.gz
Create a tarball for v1.4.0 release, but without a global extended pax header.
git tar-tree --remote=example.com:git.git v1.4.0 >git-1.4.0.tar
Get a tarball v1.4.0 from example.com.
git tar-tree HEAD:Documentation/ git-docs > git-1.4.0-docs.tar
Put everything in the current head's Documentation/ directory into git-1.4.0-docs.tar, with the prefix git-docs/.
AUTHOR
Written by Rene Scharfe.
DOCUMENTATION
Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org[1]>.
GIT
Part of the git(1) suite
NOTES
1. git@vger.kernel.org
mailto:git@vger.kernel.org
Git 1.7.1 07/05/2010 GIT-TAR-TREE(1)