12/31/2022 0 Comments Create windows share for mac backupThe share is then unmounted automatically. If you want any other computer (most probably Windows based) in your home network to access shares on the Mac: On a Windows based computer, simply create a desktop shortcut. First, make sure you have sharing turned on on your Windows machine (search 'advanced sharing settings' in the Windows Start menu), and make sure the folder you want to use as your backup is. This The article also says the the drive must be formatted in HFS+. The script will simply try to connect to a SMB share, copy the files from it to another location using rsync (so only changed files are copied, with the -delete flag any files no longer in source will be removed from destination. How do we backup a Mac to an SMB share on a Windows 10 PC Apple says that it supports SMB but I have tried to create a share and it does not show up in Time Machines list of available disks. RSYNC_TARGET - the path to copy the files to.MOUNT_PATH - the path to use as a mount point, this can be anywhere just make sure to create a directory with the same name (or it'll complain that the mount point doesn't exist).SMBPATH - the name (and path if relevant) of the SMB share.SMBNAME - the NET BIOS name, DNS address, or IP address of the machine with the SMB share.SMBPASS - the password to log-in with on the SMB share.SMBUSER - should be the username to log-in as on the SMB share.SMB Variables (because these are formed into a URL make sure not to include spaces or other special characters in any of these):. Rsync -ru -delete "$MOUNT_PATH" "$RSYNC_TARGET" Echo "$SMBNAME/$SMBPATH connected, copying file(s)."
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |