summaryrefslogtreecommitdiffstats
path: root/tools/idevicebackup2.c
AgeCommit message (Collapse)AuthorFilesLines
2013-02-26Refactor port number use into service descriptor to enable SSL for servicesGravatar Martin Szulecki1-17/+37
This is a major change which breaks API but is required in order to support SSL communication for services as used by network connections.
2013-02-09idevicebackup2: added interactive mode (-i) for password inputGravatar Nikias Bassen1-4/+17
2013-02-01idevicebackup2: fix invalid free in mkdir_with_parentsGravatar Nikias Bassen1-3/+3
2013-01-24idevicebackup2: change several global variables to local onesGravatar Nikias Bassen1-52/+59
2013-01-24idevicebackup2: fix invalid whitespaceGravatar Nikias Bassen1-2/+2
2013-01-24idevicebackup2: use reported error code instead of 0 as exit codeGravatar Nikias Bassen1-4/+8
2013-01-24idevicebackup2: make sure -1 is returned if invalid arguments are passedGravatar Nikias Bassen1-6/+6
2013-01-16idevicebackup2: Refactor output of overall progress for more frequent reportingGravatar Martin Szulecki1-10/+36
2013-01-16idevicebackup2: request password interactively if required on restoreGravatar Nikias Bassen1-0/+34
2013-01-16idevicebackup2: allow setting encryption on/off and change backup passwordGravatar Nikias Bassen1-24/+275
2013-01-07idevicebackup2: Fix nasty "too long filename received" bugGravatar Martin Szulecki1-35/+68
If the device is sending files to the host, it sometimes requires a bit more time to process them before sending. This appeared to happen mostly for larger sqlite databases which appear to get some preprocessing on the device. In such a "wait" situation, we receive no data and need to retry reading the filename length again. Due to a code bug though which didn't reset the last read length to zero, this length was incorrectly alternating between 1 and 16777216 due to the byte swapping. This ulitmativly lead to a broken backup process. Now we properly wait for the device to preprocess any file before sending the filename to the host.
2012-12-08idevicebackup2: Implement support to supply backup password for restoreGravatar Martin Szulecki1-7/+24
2012-11-29idevicebackup2: suppress "Can't remove" warning about Manifest.mbdxGravatar Nikias Bassen1-2/+11
This file is not used anymore since iOS 5.0 but the device's BackupAgent2 is still requesting the deletion of this file. To not confuse the user we just suppress the warning if the file could not be deleted.
2012-11-29idevicebackup2: Add flag to remove items not being restored from target deviceGravatar Martin Szulecki1-2/+10
2012-11-29idevicebackup2: add --source option to allow using backup directories from ↵Gravatar Nikias Bassen1-76/+39
other devices
2012-11-29tools: mass replace 'device' with 'phone' variable namesGravatar Nikias Bassen1-12/+12
2012-11-29idevicebackup2: pass UDID to factory_info_plist_new instead of requeryingGravatar Nikias Bassen1-6/+3
2012-11-29tools: use pointer instead of static buffer for UDID since it can start with '0'Gravatar Nikias Bassen1-8/+8
2012-11-22idevicebackup2: use RemoveDirectory/DeleteFile instead of remove() on win32Gravatar Nikias Bassen1-0/+37
2012-11-22idevicebackup2: fix building on win32Gravatar Nikias Bassen1-3/+12
2012-10-16idevicebackup2: updated for compatibility with iOS6Gravatar Nikias Bassen1-2/+13
2012-03-22Mass replace UUID by UDID, which is the correct term for itGravatar Martin Szulecki1-33/+33
2012-03-21tools: Fix compiler warnings for idevicebackup and idevicebackup2Gravatar Martin Szulecki1-4/+5
2012-03-19idevicebackup2: don't list . and .. in directories.Gravatar Nikias Bassen1-0/+6
2012-03-19Fix format_size_for_display for size < 1000Gravatar Nikias Bassen1-0/+2
2012-03-19tools: win32 build fixesGravatar Nikias Bassen1-1/+7
2012-03-19Removed glib stuff from dev/lckdclient and idevicebackup/idevicebackup2Gravatar Nikias Bassen1-87/+174
2012-03-19Add OpenSSL supportGravatar Nikias Bassen1-1/+0
2011-10-12idevicebackup2: plug another memory leakGravatar Nikias Bassen1-0/+2
2011-05-28idevicebackup2: plug a small memory leakGravatar Nikias Bassen1-1/+3
2011-05-17idevicebackup2: fix restore command option handlingGravatar Nikias Bassen1-4/+4
The constant for --system option was set to 0 resulting in this option not being evaluated.
2011-04-30idevicebackup2: Add typedef for GStatBuf for backwards compatibilityGravatar Martin Szulecki1-0/+4
GStatBuf was introduced with glib 2.25.0 which is more recent than we actually allow as minimum requirement.
2011-04-28idevicebackup2: Device does not expect a status response after ↵Gravatar Martin Szulecki1-4/+1
DLMessageProcessMessage
2011-04-28idevicebackup2: Update man page and usage to reflect latest statusGravatar Martin Szulecki1-1/+1
2011-04-28idevicebackup2: Use errno_to_device_error() for other operations, tooGravatar Martin Szulecki1-4/+3
2011-04-28idevicebackup2: Only post "sync finished" notification if we sent "sync ↵Gravatar Martin Szulecki1-1/+2
start" earlier
2011-04-28idevicebackup2: Improve disconnect behavior to cleanly disconnect from agentGravatar Martin Szulecki1-4/+10
2011-04-28idevicebackup2: Use g_mkdir_with_parents() for "creating directory" handlerGravatar Martin Szulecki1-1/+1
2011-04-28idevicebackup2: Improve message for sending and receiving filesGravatar Martin Szulecki1-2/+2
2011-04-28idevicebackup2: Use fread/fwrite for copy operation to speed it upGravatar Martin Szulecki1-14/+4
2011-04-28idevicebackup2: Invert restore --nocopy argument to --copyGravatar Martin Szulecki1-6/+6
2011-04-27idevicebackup2: Rename backup_ok as it applies globally for all operationsGravatar Martin Szulecki1-14/+44
2011-04-27idevicebackup2: Print progress after every operation, not only for copyingGravatar Martin Szulecki1-16/+9
2011-04-27idevicebackup2: Add command line argument flags for restore commandGravatar Martin Szulecki1-3/+38
2011-04-27idevicebackup2: Implement UNBACK command to unpack a backup into filesystemGravatar Martin Szulecki1-1/+14
2011-04-27idevicebackup2: Normalize code of backup/restore aborting due to ↵Gravatar Martin Szulecki1-12/+2
incompatible backup
2011-04-27mobilebackup2: Finish mobilebackup2_version_exchange() and use it in ↵Gravatar Martin Szulecki1-1/+5
idevicebackup2
2011-04-26idevicebackup2: Rename idevicebackup4 to reflect backup protocol version 2Gravatar Martin Szulecki1-0/+1674