[openstack-dev] [Freezer] Replace Gnu Tar with DAR
Fausto Marzi
fausto.marzi at gmail.com
Wed May 18 11:22:42 UTC 2016
Hi Deklan,
what happen if the extract is executed without --listed-incremental or
--incremental options?
Does the issue still happen?
Thanks,
Fausto
On Sat, May 14, 2016 at 12:56 AM, Dieterly, Deklan <deklan.dieterly at hpe.com>
wrote:
> When using incremental backups, tar will not handle removing a dir and
> then renaming another dir to the removed dir.
>
>
> dek at dek-HP-Z620-Workstation:~/backup-test$ tar --extract
> --listed-incrementa=/dev/null --file backup.2.tar
> tar: Cannot rename Œbackup/dir1¹ to Œbackup/dir2¹: Directory not empty
> tar: Exiting with failure status due to previous errors
>
>
>
> Here are the steps to reproduce.
>
> 1845 mkdir backup
> 1846 mkdir backup/dir1
> 1847 mkdir backup/dir2
> 1848 echo "aa" > backup/dir1/dir1-file1
> 1849 echo "aa" > backup/dir2/dir2-file1
> 1852 tar --create --file=backup.tar --listed-incremental=./listed-incr
> backup
> 1854 rm -rf backup/dir2
> 1855 mv backup/dir1 backup/dir2
> 1856 tar --create --file=backup.2.tar --listed-incremental=./listed-incr
> backup
> 1859 tar --extract --listed-incrementa=/dev/null --file backup.tar
> 1861 tar --extract --listed-incrementa=/dev/null --file backup.2.tar
>
>
> This seems to be a well known, long-standing issue with tar.
> --
> Deklan Dieterly
>
> Senior Systems Software Engineer
> HPE
>
>
>
>
> On 5/13/16, 4:33 PM, "Fox, Kevin M" <Kevin.Fox at pnnl.gov> wrote:
>
> >Whats the issue?
> >________________________________________
> >From: Dieterly, Deklan [deklan.dieterly at hpe.com]
> >Sent: Friday, May 13, 2016 3:07 PM
> >To: openstack-dev at lists.openstack.org
> >Subject: [openstack-dev] [Freezer] Replace Gnu Tar with DAR
> >
> >Does anybody see any issues if Freezer used DAR instead of Gnu Tar? DAR
> >seems to handle a particular use case that Freezer has while Gnu Tar does
> >not.
> >--
> >Deklan Dieterly
> >
> >Senior Systems Software Engineer
> >HPE
> >
> >
> >__________________________________________________________________________
> >OpenStack Development Mailing List (not for usage questions)
> >Unsubscribe:
> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> >http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
> >__________________________________________________________________________
> >OpenStack Development Mailing List (not for usage questions)
> >Unsubscribe:
> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> >http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160518/a32848f0/attachment.html>
More information about the OpenStack-dev
mailing list