<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Simple TAR command in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/simple-tar-command/m-p/4459199#M37463</link>
    <description>&lt;BR /&gt;Just a simple question about tar.&lt;BR /&gt;&lt;BR /&gt;We have a filesystem,&lt;BR /&gt;&lt;BR /&gt;/&lt;BR /&gt;/boot&lt;BR /&gt;/usr/users&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In order to take the backup of these filesystems, we connected USB drive and mounted under /usb.&lt;BR /&gt;&lt;BR /&gt;Then to get the root backup , I used&lt;BR /&gt;&lt;BR /&gt;tar -cvf root.tar /&lt;BR /&gt;&lt;BR /&gt;And it showed as after few minutes it was taking the backup of /usb contents as well.&lt;BR /&gt;&lt;BR /&gt;Oooops something not expected. Is it a normal behaviour , or we are missing some option here?&lt;BR /&gt;How do we avoid this.&lt;BR /&gt;In short how do we take the complete filesystem backup excluding specific filesystems?&lt;BR /&gt;&lt;BR /&gt;You guys must be running backup scripts for so many years ... then how did you manage to handle this situation.&lt;BR /&gt;Please suggest.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanx,&lt;BR /&gt;admin&lt;BR /&gt;</description>
    <pubDate>Tue, 14 Jul 2009 09:15:46 GMT</pubDate>
    <dc:creator>admin1979</dc:creator>
    <dc:date>2009-07-14T09:15:46Z</dc:date>
    <item>
      <title>Simple TAR command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/simple-tar-command/m-p/4459199#M37463</link>
      <description>&lt;BR /&gt;Just a simple question about tar.&lt;BR /&gt;&lt;BR /&gt;We have a filesystem,&lt;BR /&gt;&lt;BR /&gt;/&lt;BR /&gt;/boot&lt;BR /&gt;/usr/users&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In order to take the backup of these filesystems, we connected USB drive and mounted under /usb.&lt;BR /&gt;&lt;BR /&gt;Then to get the root backup , I used&lt;BR /&gt;&lt;BR /&gt;tar -cvf root.tar /&lt;BR /&gt;&lt;BR /&gt;And it showed as after few minutes it was taking the backup of /usb contents as well.&lt;BR /&gt;&lt;BR /&gt;Oooops something not expected. Is it a normal behaviour , or we are missing some option here?&lt;BR /&gt;How do we avoid this.&lt;BR /&gt;In short how do we take the complete filesystem backup excluding specific filesystems?&lt;BR /&gt;&lt;BR /&gt;You guys must be running backup scripts for so many years ... then how did you manage to handle this situation.&lt;BR /&gt;Please suggest.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanx,&lt;BR /&gt;admin&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jul 2009 09:15:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/simple-tar-command/m-p/4459199#M37463</guid>
      <dc:creator>admin1979</dc:creator>
      <dc:date>2009-07-14T09:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: Simple TAR command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/simple-tar-command/m-p/4459200#M37464</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;you should use --exclude=usb,&lt;BR /&gt;&lt;BR /&gt;and don;t forget use -p ( for the file/directory ownership )&lt;BR /&gt;&lt;BR /&gt;mikap</description>
      <pubDate>Tue, 14 Jul 2009 09:56:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/simple-tar-command/m-p/4459200#M37464</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2009-07-14T09:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Simple TAR command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/simple-tar-command/m-p/4459201#M37465</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;if the usb disk is mounted as /usb&lt;BR /&gt;&lt;BR /&gt;and you in the root /&lt;BR /&gt;&lt;BR /&gt;them &lt;BR /&gt;&lt;BR /&gt;tar cvfp /usb/file+of_backup.tar --directory / --exclude=usb&lt;BR /&gt;&lt;BR /&gt;mikap</description>
      <pubDate>Tue, 14 Jul 2009 10:03:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/simple-tar-command/m-p/4459201#M37465</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2009-07-14T10:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Simple TAR command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/simple-tar-command/m-p/4459202#M37466</link>
      <description>Ok thanx. Let me try it out and get back here.</description>
      <pubDate>Tue, 14 Jul 2009 10:24:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/simple-tar-command/m-p/4459202#M37466</guid>
      <dc:creator>admin1979</dc:creator>
      <dc:date>2009-07-14T10:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Simple TAR command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/simple-tar-command/m-p/4459203#M37467</link>
      <description>&lt;!--!*#--&gt;Hi.&lt;BR /&gt;&lt;BR /&gt;This is expected.&lt;BR /&gt;&lt;BR /&gt;or better yet, use the "--one-file-system" option with tar.&lt;BR /&gt;&lt;BR /&gt;      Goran</description>
      <pubDate>Tue, 14 Jul 2009 10:25:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/simple-tar-command/m-p/4459203#M37467</guid>
      <dc:creator>Goran Koruga</dc:creator>
      <dc:date>2009-07-14T10:25:15Z</dc:date>
    </item>
  </channel>
</rss>

