Home of the Squeezebox™ & Transporter® network music players.
Page 98 of 126 FirstFirst ... 488896979899100108 ... LastLast
Results 971 to 980 of 1252
  1. #971
    Senior Member Howard Passman's Avatar
    Join Date
    Apr 2008
    Posts
    1,172

    Backing up music files

    Hi Jeff,

    I gave this a try and all it managed was to dismount the drive that my music files are on. Here is the response I received...

    "Sent 50 bytes received 17 bytes 134.00 bytes/sec
    total size is 0 speedup is 0.00"

    I spent some time searching rsync and tried what seemed to me logical switches. Here's the command you mentioned with my source and destination..

    rsync -avz /mnt/Music /mnt/EXTBackup/

    Do you see anything I'm obviously missing? Can you recommend somewhere to get more info that might be more of a novices speed?

    Thanks again,

    Howard





    Quote Originally Posted by Jeff07971 View Post
    You could run rsync from the cmdline over ssh

    rsync -avz /source /dest

    Just check the man a trailing / in the source means something !

    The source or dest can be either/or local or network

    Jeff

  2. #972
    Senior Member Jeff07971's Avatar
    Join Date
    Aug 2011
    Location
    London, England
    Posts
    1,053
    Quote Originally Posted by Howard Passman View Post
    Hi Jeff,

    I gave this a try and all it managed was to dismount the drive that my music files are on. Here is the response I received...

    "Sent 50 bytes received 17 bytes 134.00 bytes/sec
    total size is 0 speedup is 0.00"

    I spent some time searching rsync and tried what seemed to me logical switches. Here's the command you mentioned with my source and destination..

    rsync -avz /mnt/Music /mnt/EXTBackup/

    Do you see anything I'm obviously missing? Can you recommend somewhere to get more info that might be more of a novices speed?

    Thanks again,

    Howard
    OK The command looks good and is a correct output for rsync, though it looks like it has done nothing

    What is the format of the external HDD ? You said you have had this connected to a windows PC so I'm assuming its formatted NTFS, have you installed the "Extra filesystems" extension ?

    Check that the Ext is mounted :-

    ~$ mount | grep mnt/EXT

    EDIT: try ~$ mount | grep /dev/ (less output)

    post the result
    Check the device appears

    ~$ ls -la /mnt/EXT

    post the result
    Check that the files on the EXT HDD appear

    Do the same for the source directory
    Last edited by Jeff07971; 2018-02-01 at 07:54. Reason: EDIT: try ~$ mount | grep /dev/ (less output)
    Players: SliMP3,Squeezebox3 x3,Receiver,SqueezeLiteX,PiCorePlayer x3,Wandboard
    Server: LMS Version: Latest Nightly on Centos 7 VM on ESXi 6.5.0U1 on Dell T320
    Plugins: AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player Groups
    Remotes: iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLiteX
    Music: 522GB,1660 albums with 23087 songs by 5204 artists mostly FLACs

    Want a webapp ? See http://forums.slimdevices.com/showth...Webapp-for-LMS

  3. #973
    Senior Member Howard Passman's Avatar
    Join Date
    Apr 2008
    Posts
    1,172

    Backing up music files

    Hi Jeff,

    O.K. I think I have done it correctly.

    First, yes, the drive is NTFS and second I have installed (and in use) Extra Filesystems extension.

    mnt/Music is there and I can see all of the Directories and files.

    mnt/EXTBackup is also there and I can see the contents

    I ran the commands as best as I understood them and here are the outputs...

    /$ ~$ ls -la /mnt/Music
    -sh: ~$: not found

    /$ ~$ mount | grep mnt/EXTBackup
    -sh: ~$: not found


    /$ ~$ ls -la /mnt/EXTBackup
    -sh: ~$: not found

    /$ ~$ mount | grep /mnt/Music/
    -sh: ~$: not found

    I also tried some variations.

    Thanks again,

    Howard


    Quote Originally Posted by Jeff07971 View Post
    OK The command looks good and is a correct output for rsync, though it looks like it has done nothing

    What is the format of the external HDD ? You said you have had this connected to a windows PC so I'm assuming its formatted NTFS, have you installed the "Extra filesystems" extension ?

    Check that the Ext is mounted :-

    ~$ mount | grep mnt/EXT

    EDIT: try ~$ mount | grep /dev/ (less output)

    post the result
    Check the device appears

    ~$ ls -la /mnt/EXT

    post the result
    Check that the files on the EXT HDD appear

    Do the same for the source directory

  4. #974
    Senior Member Jeff07971's Avatar
    Join Date
    Aug 2011
    Location
    London, England
    Posts
    1,053
    Quote Originally Posted by Howard Passman View Post
    Hi Jeff,

    O.K. I think I have done it correctly.

    First, yes, the drive is NTFS and second I have installed (and in use) Extra Filesystems extension.

    mnt/Music is there and I can see all of the Directories and files.

    mnt/EXTBackup is also there and I can see the contents

    I ran the commands as best as I understood them and here are the outputs...

    /$ ~$ ls -la /mnt/Music
    -sh: ~$: not found

    /$ ~$ mount | grep mnt/EXTBackup
    -sh: ~$: not found


    /$ ~$ ls -la /mnt/EXTBackup
    -sh: ~$: not found

    /$ ~$ mount | grep /mnt/Music/
    -sh: ~$: not found

    I also tried some variations.

    Thanks again,

    Howard

    Forget the ~$
    Players: SliMP3,Squeezebox3 x3,Receiver,SqueezeLiteX,PiCorePlayer x3,Wandboard
    Server: LMS Version: Latest Nightly on Centos 7 VM on ESXi 6.5.0U1 on Dell T320
    Plugins: AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player Groups
    Remotes: iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLiteX
    Music: 522GB,1660 albums with 23087 songs by 5204 artists mostly FLACs

    Want a webapp ? See http://forums.slimdevices.com/showth...Webapp-for-LMS

  5. #975
    Just type the commands below (it looks like you included the prompt when you tried):

    ls -la /mnt/Music

    mount | grep mnt/EXTBackup

    ls -la /mnt/EXTBackup

    mount | grep /mnt/Music/
    LMS Server: Mac Mini with music library on Drobo 5D
    Living Room: Raspberry Pi + AlloBoss -> Onkyo A 9010 -> KEF LS50
    Study: Raspberry Pi -> Audio Engine D1 -> Audio Addon Pro T3
    Kitchen: Squeezebox Radio
    Bedroom: SB3 -> B&W Zeppelin

  6. #976
    Senior Member Howard Passman's Avatar
    Join Date
    Apr 2008
    Posts
    1,172

    Backing up music files

    LOL, now you know who or what you're up against... I did these in the order given. I hope that's right.

    /$ ls -la /mnt/Music
    total 64
    drwxrwxrwx 463 root root 65536 Dec 31 1969 ./
    drwxr-xr-x 12 root root 240 Jan 31 20:41 ../
    /$ mount | grep mnt/EXTBackup
    /dev/sde1 on /mnt/EXTBackup type fuseblk (rw,relatime,user_id=0,group_id=0,default_permissi ons,allow_other,blksize=4096)
    /$ ls -la /mnt/EXTBackup
    total 52
    drwxr-xr-x 1 root root 4096 Jan 31 14:23 ./
    drwxr-xr-x 12 root root 240 Jan 31 20:41 ../
    drwxrwxrwx 1 root root 49152 Feb 1 11:47 Music/
    d--------- 1 root root 0 Jan 31 14:21 System Volume Information/
    /$ mount | grep /mnt/Music/

    Thanks,

    Howard



    Quote Originally Posted by odw199 View Post
    Just type the commands below (it looks like you included the prompt when you tried):

    ls -la /mnt/Music

    mount | grep mnt/EXTBackup

    ls -la /mnt/EXTBackup

    mount | grep /mnt/Music/

  7. #977
    Senior Member Jeff07971's Avatar
    Join Date
    Aug 2011
    Location
    London, England
    Posts
    1,053
    Quote Originally Posted by Howard Passman View Post
    LOL, now you know who or what you're up against... I did these in the order given. I hope that's right.

    /$ ls -la /mnt/Music
    total 64
    drwxrwxrwx 463 root root 65536 Dec 31 1969 ./
    drwxr-xr-x 12 root root 240 Jan 31 20:41 ../
    /$ mount | grep mnt/EXTBackup
    /dev/sde1 on /mnt/EXTBackup type fuseblk (rw,relatime,user_id=0,group_id=0,default_permissi ons,allow_other,blksize=4096)
    /$ ls -la /mnt/EXTBackup
    total 52
    drwxr-xr-x 1 root root 4096 Jan 31 14:23 ./
    drwxr-xr-x 12 root root 240 Jan 31 20:41 ../
    drwxrwxrwx 1 root root 49152 Feb 1 11:47 Music/
    d--------- 1 root root 0 Jan 31 14:21 System Volume Information/
    /$ mount | grep /mnt/Music/

    Thanks,

    Howard


    As /mnt/Music is empty and your SOURCE the output is quite normal you asked it to backup nothing to /mnt/EXTBackup and rsync did that for you !!!

    I thought you were trying to backup files on the pi to the HDD was this not correct ?

    Jeff
    Players: SliMP3,Squeezebox3 x3,Receiver,SqueezeLiteX,PiCorePlayer x3,Wandboard
    Server: LMS Version: Latest Nightly on Centos 7 VM on ESXi 6.5.0U1 on Dell T320
    Plugins: AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player Groups
    Remotes: iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLiteX
    Music: 522GB,1660 albums with 23087 songs by 5204 artists mostly FLACs

    Want a webapp ? See http://forums.slimdevices.com/showth...Webapp-for-LMS

  8. #978
    Senior Member Howard Passman's Avatar
    Join Date
    Apr 2008
    Posts
    1,172

    Backing up music files

    Hmmm, It wasn't/isn't empty. Would one of those commands dis-mounted it? That seems to be the issue I've had going along, I've noticed.

    After I sent the last reply I went to add a new Folder.jpg and noticed mnt/Music was no longer mounted again. I remounted it and it's all there now.

    So I just reran ls -la /mnt/Music and this time is shows all of my music. At least each Artist Folder.

    I am trying the rsync -avz /mnt/Music /mnt/EXTBackup/ again and it is working. Got a bunch of "Resync Failed to set permission" on a bunch of albums already on the drive. Is that because they are current?

    It's running now and I would imagine it will take a while.

    Thanks,

    Howard


    Quote Originally Posted by Jeff07971 View Post


    As /mnt/Music is empty and your SOURCE the output is quite normal you asked it to backup nothing to /mnt/EXTBackup and rsync did that for you !!!

    I thought you were trying to backup files on the pi to the HDD was this not correct ?

    Jeff
    Last edited by Howard Passman; 2018-02-01 at 11:05.

  9. #979
    Senior Member Howard Passman's Avatar
    Join Date
    Apr 2008
    Posts
    1,172

    Backing up music files

    Hi Jeff,

    It's running, but very slow. Slower than across the network. The Command Window times out, but I assume it is still working. When it quit responding, I closed WINscp and reopened it. I restarted the command and it seemed to start up where it left off.

    Thanks,

    Howard

  10. #980
    Senior Member Howard Passman's Avatar
    Join Date
    Apr 2008
    Posts
    1,172

    Backing up music files

    Here is where it left off in the command window. I'm guessing the grayed out files are not really there???

    See attachment...

    Thanks again,

    Howard
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •