[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SUCCESS!!!! - was {Re: Backup problem using "cp"}



Le 11/05/2018 à 14:59, Richard Owlett a écrit :
On 05/06/2018 09:22 AM, Richard Owlett wrote:
I'm attempting to backup current partition  to a USB connected 1 TB drive.

I get:

root@debian-jan13:/home/richard# cp -ax / "/media/richard/MISC backups/dev_sda14/" cp: cannot stat '/media/richard/MISC backups/dev_sda14/home/richard/.local/share/Trash/expunged/73080846/grub2 problem-2018-02-13/grub2 problem-2018-02-13/grub2 problem-2018-02-13/grub2 problem-2018-02-13/grub2 problem-2....018-02-13/grub2 problem-2018-02-13': File name too long


The problem turned out to be that "....local/share/Trash/expunged/73080846/grub2..." appeared under *BOTH*
/home/richard and the root directory.

Do you mean that there was a

/.local/share/Trash/expunged/73080846/grub2 problem-2018-02-13

or

/root/.local/share/Trash/expunged/73080846/grub2 problem-2018-02-13

directory ? The former would be really odd. Also, I do not see how either would interfere with

/media/richard/MISC backups/dev_sda14/home/richard/.local/share/Trash/expunged/73080846/grub2 problem-2018-02-13

or

/home/richard/.local/share/Trash/expunged/73080846/grub2 problem-2018-02-13

I successfully ran:
root@debian-jan13:/home/richard# updatedb
root@debian-jan13:/home/richard# locate TRASH
root@debian-jan13:/home/richard# cp -ax / /media/richard/MISC-backups/dev_sda14/

None of these commands removes any file or directory.


Reply to: